How to simulate packages?

2008-08-21 Thread Daniel
Hello, I have a project that I've decided to split into packages in order to organize my code better. So what I have looks something like this src -module1 -mod1_file.py -module2 -mod2_file.py Everytime I run mod2_file.py I need to import mod1_file.py. Right now I'm using an ugly

Re: How to simulate packages?

2008-08-21 Thread Gabriel Genellina
En Thu, 21 Aug 2008 13:04:51 -0300, Daniel [EMAIL PROTECTED] escribi�: I have a project that I've decided to split into packages in order to organize my code better. So what I have looks something like this src -module1 -mod1_file.py -module2 -mod2_file.py Everytime I run

Re: How to simulate packages?

2008-08-21 Thread Jason Scheirer
On Aug 21, 11:26 am, Gabriel Genellina [EMAIL PROTECTED] wrote: En Thu, 21 Aug 2008 13:04:51 -0300, Daniel [EMAIL PROTECTED]   escribi : I have a project that I've decided to split into packages in order to organize my code better.  So what I have looks something like this src  

Re: How to simulate packages?

2008-08-21 Thread Bruno Desthuilliers
Daniel a écrit : Hello, I have a project that I've decided to split into packages in order to organize my code better. So what I have looks something like this src -module1 -mod1_file.py -module2 -mod2_file.py Everytime I run mod2_file.py I need to import mod1_file.py. Right now

Re: How to simulate packages?

2008-08-21 Thread Daniel
On Aug 21, 12:26 pm, Gabriel Genellina [EMAIL PROTECTED] wrote: En Thu, 21 Aug 2008 13:04:51 -0300, Daniel [EMAIL PROTECTED]   escribi : I have a project that I've decided to split into packages in order to organize my code better.  So what I have looks something like this src  

Re: How to simulate packages?

2008-08-21 Thread Daniel
On Aug 21, 2:22 pm, Bruno Desthuilliers [EMAIL PROTECTED] wrote: Daniel a écrit : Hello, I have a project that I've decided to split into packages in order to organize my code better.  So what I have looks something like this src   -module1     -mod1_file.py   -module2