strange problem using modules from my own package.

krishnakant Mane researchbase at gmail.com
Fri Feb 9 01:11:38 EST 2007


On 09/02/07, Gabriel Genellina <gagsl-py at yahoo.com.ar> wrote:
> At Friday 9/2/2007 02:10, you wrote:
>
> Please keep posting on the list - you'll reach a whole lot of people
> there...
sorry, I had just hit the reply button and did not notice that
python-list was not there.
>my crystal ball I can see this statement: import pbcf
> or perhaps: from pbcf import something (it's not so clear...)
> written inside any module in your package. So, your package must be
> installed in any directory listed in sys.path, for python to be able
> to actually find it; perhaps in site-packages.
can I have package in a folder and then a main.py in the same folder
but out side the package?
> Also, if you try to execute a module "inside" your package, it does
> not even *know* that it lives inside a package.
>
but all this is working in eclipse with pydev.
and I looked in the console but there were no errors.



More information about the Python-list mailing list