[Tutor] Re: problems with re module

Thomi Richards thomi at imail.net.nz
Sat Nov 15 17:27:33 EST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> (procol(col)) is not a tuple, but (procol(col),) is.
> I think I would write it as:

> writeln('<entry>%s</entry>' % procol(col))

> though.

Unfortunately, that doesn't make any difference :-/

attached is the complete source.

hopefully someone can spot what I'm doing wrong ....

- -- 
Thomi Richards,
http://once.sourceforge.net/


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/tqhV2tSuYV7JfuERAvk9AJ960RxIJk2MfU8m0Wyc8sCMpViWJgCeOTvV
dsT9r/iDb/NdPP8MeGRm+No=
=OI9u
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: conv.py
Type: text/x-python
Size: 3624 bytes
Desc: not available
Url : http://mail.python.org/pipermail/tutor/attachments/20031116/8eda1fb5/conv.py


More information about the Tutor mailing list