my first python script (tm).

ronan ronanm at gmail.com
Tue May 4 18:54:08 EDT 2004


I'm a along time PHP developer but recently I have branched out and
started to play with Python. I'm new to this list, so I'm not sure
about the code pasting etiquette, I've attached it.

It's officially my first Python script (brought to you with a little
help from Mark Pilgrim's book) but it has a small problem. What ever
variable's I give it for url or title the 'except' always seems to be
triggered (the directory/file isn't made and the error message is
echoed).

Any idea's where I'm going wrong?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: snuf.py
Type: application/octet-stream
Size: 486 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20040504/c52dea23/attachment.obj>


More information about the Python-list mailing list