scaffoldpyscript.py is a script for creating a Python3 script that functions like a shell script. These scripts are intended to aid programmers and may reside in the /usr/bin for ease of use.
- Open a terminal then navigate to your download folder.
- Run
wget -4 https://raw.githubusercontent.com/olindgallet/scaffoldpyscript/main/scaffoldpyscript.pyto download the file. - Run
chmod +x scaffoldpyscript.pyto make the file executable. - Run
sudo mv scaffoldpyscript.py /usr/bin/scaffoldpyscript. This moves the script into the/usr/bin/folder so that users can use the script from the command line. If you want to install it for only the local user, use/usr/local/bininstead. - Verify that the file has moved by typing
scaffoldpyscript. If successful, then the script will run and display some help text.
- Open a terminal and navigate to your work folder.
- [Optional] Make the project folder with
mkdir <project-name>. - Run
cd <project-name>to change directory into the app. - Run
scaffoldpyscript.