On 1/4/07, Dino Viehland <[EMAIL PROTECTED]> wrote:

I am surprised one is behaving different.  It works for me w/ pyc if I
keep the package directory on the path, but if I don't then it breaks.

I'm curious did you include all of your individual package files, or just
__init__.py?  And were the packages on your path?


In my case I didn't have a package, merely an extra Python module, imported
from the local directory.  Something like the following:

main.py
======

import extra

print extra.foo()


extra.py
======

def foo():
   return "Hello"


Does that make sense?  Can you duplicate the problem?  If not, I can create
a real example for you.

--
Patrick K. O'Brien
Orbtech       http://www.orbtech.com
Schevo        http://www.schevo.org
Louie         http://www.pylouie.org
_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to