Compiling Your Python Project 02-19-2013, 06:13 AM
#1
Hello [username]!
Python Version used is 3.3
I'll be showing you how to compile your python project using python's built-in module called "py_compile"
1) So first of all open your Python IDE and then type:
Now you should know the proper path to where your .py (project file) is present.
2) Next type in your Python IDE:
3) Go to your project folder and you'll have your compiled Python File in the "py_cache" folder.
Python Version used is 3.3
I'll be showing you how to compile your python project using python's built-in module called "py_compile"
1) So first of all open your Python IDE and then type:
Code:
import py_compileNow you should know the proper path to where your .py (project file) is present.
2) Next type in your Python IDE:
Code:
py_compile.compile('Path_to_your_project.py')3) Go to your project folder and you'll have your compiled Python File in the "py_cache" folder.




![[+]](https://sinister.li/images/modern/collapse_collapsed.png)
![[Image: OilyCostlyEwe.gif]](http://fat.gfycat.com/OilyCostlyEwe.gif)
![[Image: 2YpkRjy.png]](http://i.imgur.com/2YpkRjy.png)