Re: can't get import to work!

2007-01-15 Thread Gabriel Genellina
At Monday 15/1/2007 14:35, [EMAIL PROTECTED] wrote: from just.for.fun import Fubar This doesn't work. The following error is displayed: ImportError: No module named for You can't have a module named "for", it's a reserved word. Try using "For" instead (or any other legal name!). --

can't get import to work!

2007-01-15 Thread corsairdgr
I am brand new to jython/python. I want to use my own Java class from within a Jython script. In Java, I created a class called Fubar and put this in a jar file called testit.jar. The Fubar class is in the just.for.fun package and this path shows up in the testit.jar file. I then modified