How to import from filename with dots in it?
Frank Niessink
niessink at serc.nl
Tue Feb 13 05:17:54 EST 2001
More information about the Python-list mailing list
Tue Feb 13 05:17:54 EST 2001
- Previous message (by thread): How can I use "tkFileDialog.askopenfilename()"
- Next message (by thread): How to import from filename with dots in it?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi all, I want to import from a file called 'foo-0.1.py'. Is this at all possible? Maybe using __import__? Thanks, Frank -- The Hitch Hiker's Guide to the Galaxy has this to say on the subject of flying. There is an art, it says, or rather a knack to flying. The knack lies in learning how to throw yourself at the ground and miss. Pick a nice day, it suggests, and try it. -- Douglas Adams, 'Life, the Universe, and Everything'
- Previous message (by thread): How can I use "tkFileDialog.askopenfilename()"
- Next message (by thread): How to import from filename with dots in it?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list