its a debian package. 2.5 importing optparse works with interactive python, but not through the jython interpreter i an using.
is there some way i can force the import based on the the absolute path to the module? On Tue, Feb 10, 2009 at 1:48 PM, Robert Kern <robert.k...@gmail.com> wrote: > On 2009-02-10 15:42, Matthew Sacks wrote: >> >> it seems as if optparse isn't in my standard library. > > How did you install your Python? It has been part of the standard library > for a very long time. > >> is there a way to add a lib like ruby gems? > > http://docs.python.org/install/index.html > > But optparse (named Optik when it was a separate package) has not been > distributed separately from Python for a long time. > > -- > Robert Kern > > "I have come to believe that the whole world is an enigma, a harmless enigma > that is made terrible by our own mad attempt to interpret it as though it > had > an underlying truth." > -- Umberto Eco > > -- > http://mail.python.org/mailman/listinfo/python-list > -- http://mail.python.org/mailman/listinfo/python-list