Questions about programming languages and debugging
2 posts • Page 1 of 1
yes python runs on windowsjneaod wrote:I cant figure out how to run the actual phython program. (The one that lets you write programs.) Can you write phyton programs if you are running the windows os?
Make a python program
1.first of all download and install python
2. open up notepad (or other program) type what ever python commands you want
3. save the python could as something.py will use "whatever.py" as a example
4. open the application. This can be kinda tricky in a way because if you double click on it and the code has something like "print Hello World" you will not see it it will be a flash on the screen. so what you can do is this.
a. you can make a shortcut to the whatever.py. right click on the shortcut and go to properties and in the target box add space /f:1 at the end of the path.
example: C:\Python24\whatever.py /f:1
this will bring up the program in command prompt
b. or you can go to run type cmd then it will come up with a command prompt and through dos you open the whatever.py file
hopes this helps