GithubHelp home page GithubHelp logo

wrongsyntax / text-to-array Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 26 KB

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: GNU General Public License v3.0

Python 100.00%
python python3 arrays list automation helpful command-line-tool terminal-based helper helper-script

text-to-array's Introduction

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.

text-to-array's People

Contributors

wrongsyntax avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.