Is there an easy way to get a handle on the source (.py) that exists
within a jar on sys.path?
Say I have:
and sys.path includes an entry like "/path/to/foo.jar/Lib"
How do I get a python file object from which I can read the contents of
bar.py? I'm trying not to rewrite the functionality that already exists
in jython for finding/reading modules from a jar file =)
The reason I want to do this is to fix pdb.py so that when I'm debugging
some PY that uses modules in jar, I can step into those modules and see
their source from within pdb.
Get latest updates about Open Source Projects, Conferences and News.