[IronPython] Python Command Line Compiler issues and questions
Patrick O'Brien
sum.ergo.code at gmail.com
Thu Jan 4 23:14:08 CET 2007
On 1/4/07, Dino Viehland <dinov at exchange.microsoft.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20070104/8259cba3/attachment.html>
More information about the Ironpython-users
mailing list