Trying to learn how to use python a bit so I can use GitHub programs and it's not going well folks. According to the Windows CMD thing python isn't even a thing that exists and how dare I assume it has a path on my PC despite me installing it's path on my pc
Comments
1) Download the executable installer
2) Execute as Administrator
3) Install for ALL users, INCLUDING the launcher (py.exe)
#PythonDev #python #windows π§΅
PATHEXT=.COM;.EXE;.BAT;.CMD;.PY;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
5) Create a file named https://pytest.py in a directory that is in PATH:
#! python3
print("Hello Monty!")
6) Execute by typing pytest in a CMD prompt and enjoy
#PythonDev #python #windows
That said⦠the initial setup can be (is) a giant pain in the ass, especially on windows.
NEVER install it under "C:\Program Files"
My mentor taught me to install it under "C:\Python\
Also:
When changing the System's PATH, you'll need a restart.
So just change your own PATH, log out, login again.
Just open up your fav IDE, like PyCharm etc.
And make a virtualenv.
Let your IDE handle all the details.