gtb wrote: > I was having trouble with the 'no module named' error message when > trying to import and noticed that other successful imports were > pulling from .py files that had the dot replaced with $ and .class > appended to the name. Actually in one case it picked up a .pyc file > then created a .class file. > > How do I create a .class file from my .py file so that functions can > be imported.
Sounds like a Jython implementation detail, like CPython's .pyc files. Those files should presumably be created automatically the first time your module is imported. The problem importing your module is probably caused by something else, like an incorrect sys.path. -- http://mail.python.org/mailman/listinfo/python-list