This is a very simple program that will convert a list of words into an array.
All you need to do is make sure there is a space between all your words, and the program will do the rest.
Usage is very simple, you just write or paste your text when prompted. For example, you could write: x y z and the returned text will be [x, y, z]
If you're on windows, go into the Command Prompt and type the following:
pip install clipboard
If that doesn't work, and it gives you an error that says something similar to:
pip: command not found
Try this instead:
pip3 install clipboard
Once you have that done, you can use the program!
Although the Windows version may work, the Mac specific one is recommended because you don't need to install anything else. You can use the program right out of the box.
Text to Array is compatible with Python 3.
If you have Python 2 and would still like to use the program, please do the following:
Change the following:
input
with
raw_input
on lines 17, 21, and 34.
Change the following:
input
with
raw_input
on lines 11, 15, and 28.