Re: import a user created python file as module

2006-07-30 Thread Rob Wolfe
> How and what should I do to import file1.py into file1-dir1.py ? Please > give me some references to the tutorial topic which I can study as > well. And some reference: http://docs.python.org/tut/node8.html Regards, Rob -- http://mail.python.org/mailman/listinfo/python-list

Re: import a user created python file as module

2006-07-30 Thread Amit Khemka
On 30 Jul 2006 23:07:07 -0700, Phoe6 <[EMAIL PROTECTED]> wrote: > Hi, > I have the following directory structure in my project. > Base: > file1.py > file2.py > Directory1: >file1-dir1.py > > I am able to import file1 into file2.py > What I nee

import a user created python file as module

2006-07-30 Thread Phoe6
Hi, I have the following directory structure in my project. Base: file1.py file2.py Directory1: file1-dir1.py I am able to import file1 into file2.py What I need to do is, import file1 in the file file1-dir1.py. I did not create the entire dir