JPython - Java and Python packages/classes with the same name?

Chris Knight cknight at
Wed Sep 13 22:41:01 CEST 2000

I'd like to have a Java class and a (pure)Python class with the same name in
the same package structure.  For example, let's say I had a Java package
named "foo" and I would like to import the class "bar" from the Java class.
But, let's also say that there's a Python package named "foo" also with the
class "bar" inside, is there a way to say "import" so that the Java
class is imported?

More information about the Python-list mailing list