Skip to content
This repository has been archived by the owner on Jun 7, 2020. It is now read-only.
/ Text-to-Array Public archive

This is a simple Python program that will convert a list of words seperated by spaces into an array that you can then copy and use.

License

Notifications You must be signed in to change notification settings

wrongsyntax/Text-to-Array

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text to Array

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.

Instructions

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]

Windows

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!

MacOS

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.

Compatibility

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:

For MacOS

Change the following:

input

with

raw_input

on lines 17, 21, and 34.

For Windows

Change the following:

input

with

raw_input

on lines 11, 15, and 28.

About

This is a simple Python program that will convert a list of words seperated by spaces into an array that you can then copy and use.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages