On Nov 4, 12:43 am, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> def main(argv=None):
> if argv is None: argv = sys.argv[1:]
> ...
Wouldn't that make optparse miss the first parameter sys.argv[1]
mistaking it to be the name of the current program?
- Sandip
--
http://mail.python.org/m
(docs AT python.org doesn't like non-subscribers. Probably that is why
my mail didn't get through. Sending to this list instead.)
I just downloaded the PDF (tar.gz) version of the docs at
http://docs.python.org/download.html.
All the howtos seem to be titled "HOWTO". I am certain this is an
err
ecause the
feature of reading a line at a time from a socket will help me in a lot
of other places in the future.
- Sandip
--
Sandip Bhattacharya
sandip (at) puroga.com
Puroga Technologies Pvt. Ltd.
Work: http://www.puroga.comHome: http://www.sandipb.net
GPG: 51A4 6C57 4BC
Can someone suggest me some good resources for learning how to use
unittests for web applications? Do we always have to cook up our own
webpage scrapers to test the code?
- Sandip
--
Sandip Bhattacharya*Puroga Technologies * [EMAIL PROTECTED]
Work: http://www.puroga.com