The documentation leaves lack for want, especially the examples.

On Tue, Feb 10, 2009 at 5:25 PM, John Machin <sjmac...@lexicon.net> wrote:
> On Feb 11, 12:12 pm, Matthew Sacks <ntw...@gmail.com> wrote:
>> if anyone can have a look at this code and offer suggestions i would
>> appreciate it.
>> i am forced to use getopt, so i cant use something good like optparse
>>
>> passedArgs = sys.argv[1:]
>> optlist, args = getopt.getopt(str(passedArgs), ["connectPassword=",
>
> Dunno where you acquired the str() ... just lose it. Consider checking
> with the documentation when something "does not work".
>
>> "adminServerURL=", "action=", "targets=", "appDir="])
>>
>> for some reason this does not work in assigning args to opts.
>>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to