A very basic wizard for creating a python class file.
NOTE: These instructions were written for Linux.
- Download the required files.
- Make the script executable
A very basic wizard for creating a python class file.
NOTE: These instructions were written for Linux.
Install Python[https://www.python.org/downloads/windows/]
Create a directory to contain your scripts.
Add your created directory to your path.
Start Menu
Type in "environment" and select "Edit Environment variables for your account".
In the upper group titled "User variables for [YOUR NAME]" click the "New…" button.
Enter your desired variable name (standard is to be in all caps, use underscores instead of spaces, and only letters. E.g. WILLS_PYTHON_SCRIPTS)
Enter the path to your script dir as the Variable Value. Click the "OK" button.
| def gather_input(prompt,empty_ok=False): | |
| user_input = None | |
| while user_input is None: | |
| print(prompt) | |
| user_input = input('?') |