par files?

R

Russell Lear

In java there are .jar files so I'm wondering if Python has anything similar
- .par files perhaps?

I know jar files have their limitations and shortcomings, but being able to
bundle together a bunch of related python files with various resource files
seems like a handy thing to have.

Thanks,
Russell.
 
M

Miki Tebeka

Hello Russell,
In java there are .jar files so I'm wondering if Python has anything similar
- .par files perhaps?
Python (since 2.2 I think) can import from zip files (jar files are zip
files).
Just add the zip file name to sys.path and you're done.

Bye.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,200
Messages
2,571,046
Members
47,646
Latest member
xayaci5906

Latest Threads

Top