Could someone please give me the simplest possible step-by-step on how to run a python script on Windows?
Is it just installing Windows installer (64-bit) from https://www.python.org/downloads/windows/ and then double clicking the .py file? Or is there some other steps?
@forteller Unfortunately I can't give an authoritative answer because I don't use Windows, but from a bit of quick research it sounds like there are a couple more steps, at least for the first time you want to run a .py file:
1. download the Python installer
2. *run* the installer
3. right-click on your .py file, choose "Open With", choose Python (or python.exe or whatever it shows up as) and select "Always use this program for this file type" if that's an option
4. then you can double-click the .py file
But steps 1-3 only need to happen once. So in the future, if you want to run any more Python scripts, you should be able to just double-click them.
Whether the script actually does anything useful when run in this way is a whole separate matter, of course....
Info taken from e.g. https://learnpython.com/blog/run-python-script-windows/ and https://stackoverflow.com/a/1934695/56541
@diazona Great, that sounds like something I can teach people to do. I don't use Windows either, and had issues figuring out trough searches. Thanks a lot! :)
@forteller Happy to help! But I hope you can get a proper response from someone experienced with using Python on Windows and not have to rely on my flaky research