Writing a serious project in python? Chances are you don't want everything packed into one source file. With pyclude all it takes is an #include, and you can include sources, like in the various other languages. Pyclude is written in python, and is extremely simple to use. To include, simply add: #include "file2.py" into your main file, and running this at the terminal / prompt: python pyclude.py your_main_file.py will put it all into your_main_file.pyc, ready for running.