Seperate Files

Fredrik Lundh fredrik at pythonware.com
Sat Dec 22 12:35:00 EST 2007


katie smith wrote:

> I'm attempting to create a game and right now the game has 6000 lines of 
> code and is confusing me.
>  
> I have seen it done but have no idea how to do it, but I would like to 
> use seperate files and incorporate them together. One for my units, one 
> for the map maker, one for the playing part.
>  
> Any ideas on how to do that?

chapter 6 in the tutorial has the full story:

     http://docs.python.org/tut/node8.html

</F>




More information about the Python-list mailing list