If I create a file with only one line:
---
from optparse import OptionParser
---
I get this when I try to run it from "DOS" prompt:
Traceback (most recent call last):
File "optparse.py", line 1, in ?
from optparse import OptionParser
File "X:\data\other\source\python\population\optparse.p y", line 1, in ?
from optparse import OptionParser
ImportError: cannot import name OptionParser
When I try to do that from Python prompt everything works fine. What's the
problem?
--
_______ Karlo Lozovina - Mosor
| | |.-----.-----. web: http://www.mosor.net || ICQ#: 10667163
| || _ | _ | Parce mihi domine quia Dalmata sum.
|__|_|__||_____|_____|