Sep-14-2017, 02:35 PM
(Sep-14-2017, 01:17 PM)aidanikuz Wrote: so I made a simple test file, hello.py which has its own folder on my desktop "print("Hello")".
You didn't say what the folder name was on your desktop, so we'll just call it 'folder'. From the command prompt you need to change directory to that directory.
cd C:\Users\your_name\Desktop\folder
From there, you can just type "hello.py".
To save yourself some typing, you could create a directory under the main "C" directory, call it, say "Python", the you just have to type
cd c:\python
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition