IS phython for windows?

Questions about programming languages and debugging
Post Reply
User avatar
jneaod
On the way to fame!
On the way to fame!
Posts: 49
Joined: 11 Feb 2006, 17:00
18

IS phython for windows?

Post by jneaod »

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?

xtheblack9x
suck-o-fied!
suck-o-fied!
Posts: 99
Joined: 15 Jan 2006, 17:00
18
Location: USA

Re: IS phython for windows?

Post by xtheblack9x »

jneaod 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?
yes python runs on windows

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 :)

Post Reply