These instructions will install python on your local machine for the purpose of running a python demo The python download can be found at:
https://www.python.org/ftp/python/3.9.5/python-3.9.5-amd64.exe
Python requires Windows 7 or later to run version 2.7 python 3 requires windows 8.1, or 10 to run, with additional packages, libaries, or mods. The commands below will upgrade OS and install the prerequisites, or run the *.py file
Open a new command prompt, and type “python3 –version”.
Walla! You can now use the “python” command at the
Command Prompt when you want to use Python 2.7
and the “python3” command when you want to use Python 3.
Once installed you can run the program with the following command
C:\Users\YourName> py C :\YourName\Projects\Python>
*Your command prompt my vary depending on the setup of your windows computer. *Just make sure you start at your Boot drive Prompt such as C:/ or D:/ *then type py at the boot drive prompt as shown above.
mypython.py
https://github.com/mjtomlinson/CNE_310-MattTomlinson-/blob/main/mypython.py
Additional ways to run the program below
mypython.py test.txt
I thank everyone who helped me complete this project.