How do I run a Python program in the Command Prompt in Windows 7? - Stack Overflow
What's the best IDE for Python on Windows?
PTVS or PyDev with Eclipse.
More on reddit.comIs using python in Windows (in terms of writing code/programming) much different than in Linux?
How to use Python at work?
You don't need to install Python to Program Files, or any other system folder that requires Administrator permissions. You can put it on a USB drive, or even just install it to your user folder (C:\Users\name).
That will at least get you Python on your personal workstation. As far as accessing servers, I believe there are Python libraries that will allow you to use Powershell Remote to access the servers remotely.
You might also be able to put Python on a network drive and run it off of that? I'm not sure that will work, but it might be worth a try.
More on reddit.comVideos
I took an intro to python class, and I don’t understand even just the basics of this. Like, do you open a window, type in the code, and then press a button? Like, if I want to write a program, what applications am I using?
Thanks 🙏
You need to add C:\Python27 to your system PATH variable, not a new variable named "python".
Find the system PATH environment variable, and append to it a ; (which is the delimiter) and the path to the directory containing python.exe (e.g. C:\Python27). See below for exact steps.
The PATH environment variable lists all the locations that Windows (and cmd.exe) will check when given the name of a command, e.g. "python" (it also uses the PATHEXT variable for a list of executable file extensions to try). The first executable file it finds on the PATH with that name is the one it starts.
Note that after changing this variable, there is no need to restart Windows, but only new instances of cmd.exe will have the updated PATH. You can type set PATH at the command prompt to see what the current value is.
Exact steps for adding Python to the path on Windows 7+:
- Computer -> System Properties (or Win+Break) -> Advanced System Settings
- Click the
Environment variables...button (in the Advanced tab) - Edit PATH and append
;C:\Python27to the end (substitute your Python version) - Click OK. Note that changes to the PATH are only reflected in command prompts opened after the change took place.
Assuming you have Python2.7 installed
Goto the Start Menu
Right Click "Computer"
Select "Properties"
A dialog should pop up with a link on the left called "Advanced system settings". Click it.
In the System Properties dialog, click the button called "Environment Variables".
In the Environment Variables dialog look for "Path" under the System Variables window.
Add ";C:\Python27" to the end of it. The semicolon is the path separator on windows.
Click Ok and close the dialogs.
Now open up a new command prompt and type "python"
It should work.