ntwrkd at gmail.com
Wed Feb 11 06:36:00 CET 2009
The documentation leaves lack for want, especially the examples.
On Tue, Feb 10, 2009 at 5:25 PM, John Machin <sjmachin at lexicon.net> wrote:
> On Feb 11, 12:12 pm, Matthew Sacks <ntw... at 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.
More information about the Python-list