Re: creating package question

2005-11-17 Thread erick_bodine
Bruno Desthuilliers wrote: > [EMAIL PROTECTED] a écrit : > > I think I have an answer to my own question. In the > > WindowsComponents/__init__.py file, I have the following, that feels > > like a better answer for the problem. Is there a better answer than > > this? > > > > import os, sys > > s

Re: creating package question

2005-11-16 Thread Bruno Desthuilliers
[EMAIL PROTECTED] a écrit : > I think I have an answer to my own question. In the > WindowsComponents/__init__.py file, I have the following, that feels > like a better answer for the problem. Is there a better answer than > this? > > import os, sys > sys.path.append(os.path.join(os.getcwd(), 'C

Re: creating package question

2005-11-16 Thread infidel
[EMAIL PROTECTED] wrote: > I think I have an answer to my own question. In the > WindowsComponents/__init__.py file, I have the following, that feels > like a better answer for the problem. Is there a better answer than > this? > > import os, sys > sys.path.append(os.path.join(os.getcwd(), 'Comm

Re: creating package question

2005-11-16 Thread Micah Elliott
On Nov 16, [EMAIL PROTECTED] wrote: > I have a package directory structure as follows > > root- > | > Common (contains __init__.py file) > WindowsComponents (contains __init__.py file) > ... > > I would like modules in the WindowsComponents directory to be able > to import some mo

Re: creating package question

2005-11-16 Thread erick_bodine
I think I have an answer to my own question. In the WindowsComponents/__init__.py file, I have the following, that feels like a better answer for the problem. Is there a better answer than this? import os, sys sys.path.append(os.path.join(os.getcwd(), 'Common')) --ERick -- http://mail.python

creating package question

2005-11-16 Thread erick_bodine
I have a package directory structure as follows root- | Common (contains __init__.py file) WindowsComponents (contains __init__.py file) ... I would like modules in the WindowsComponents directory to be able to import some modules from the Common directory. In my first pass, I wa