Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 398 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 398 Bytes

Python Compiler

Just simply compile *.py to *.pyc

Usage

python compiler.py main.py
python compiler.py program_directory

Using -h flag to show more detail about arguments

Using file after compiling

Using pyc file instead of py file. Example: After compile hello.py to hello.pyc, we using this command to run the script.

python hello.pyc