From: Brad C. <bk...@mu...> - 2001-01-26 22:41:51
|
I have 3 python modules a.py, b.py and c.py b.py has from c import C I use jythonc with --package com.MurkWorks.FTPD The Java app can instantiate com.MurkWorks.FTPD.b okay. But when b tries to import class C from module c, it fails with importerror: cannot import name c -- So then I tried changing b.py to use from com.MurkWorks.FTPD.c import C This also fails with a similar import error. What's the proper method for multiple modules to load each other when compiled with the --package option? I couldn't find an example of this in Demos. Brad Clements, bk...@mu... (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.murkworks.com AOL-IM: BKClements |