How To Compile A Python Program In Windows
I am going to explain how you can easily compile a python program in windows .You can compile python program in windows in two ways:
How to compile or run your python program Step by steps
First download and install python 2.7.2 or any other versions suable for you compiler in your windows computer
Way 1
Goto My computer c:\python27\ and open python.exe and type your code and press enter
Way2
Open any text editor like notepad and type your program after typing the code save the program into the directory (folder) c:\python27\ filename such as programname.py
Then open command prompt type the following code
cd c:\python27\
python.exe programname.py
here cd is change directory or set your path
python.exe is the compiler and programname.py is python code with extension .py
Tags : how to compile python file ,how to compile .py file,how to compile python source code in windows,execute or run a python program in windows,run python project in windows xp,windows 7,windows 8
I am going to explain how you can easily compile a python program in windows .You can compile python program in windows in two ways:
How to compile or run your python program Step by steps
First download and install python 2.7.2 or any other versions suable for you compiler in your windows computer
Way 1
Goto My computer c:\python27\ and open python.exe and type your code and press enter
Way2
Open any text editor like notepad and type your program after typing the code save the program into the directory (folder) c:\python27\ filename such as programname.py
Then open command prompt type the following code
cd c:\python27\
python.exe programname.py
here cd is change directory or set your path
python.exe is the compiler and programname.py is python code with extension .py
Tags : how to compile python file ,how to compile .py file,how to compile python source code in windows,execute or run a python program in windows,run python project in windows xp,windows 7,windows 8
No comments:
Post a Comment