[BangPypers] ImportError: cannot import name make_option

Parthan SR parth.technofreak at gmail.com
Mon Jan 26 18:06:10 CET 2009


OOMMEN KM wrote:
>
>     from optparse import make_option, OptionParser
> ImportError: cannot import name make_option
> -----------------
>
> Can anyone help me in solving this issue.
What version of Python are you using? As far as I can see, optparse 
module comes in-built with python since v2.3.
Can you try `from optparse import name_option` in a python shell opened 
in a terminal/command promt?

-- 
---
With Regards,

Parthan "technofreak"
<gpg>  2FF01026
<blog> http://blog.technofreak.in



More information about the BangPypers mailing list