Byte-operations.

Jeff Epler jepler at unpythonic.net
Thu May 19 08:27:31 EDT 2005


In Python, "chr" gives a 1-byte string from a small integer, "ord" does
the reverse.  Strings are concatenated with "+" and substrings are taken
with the slice operator, s[pos1:pos2].

I'm not a visual basic expert, but it looks like these are the
operations the code below performs.

Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20050519/be07f127/attachment.sig>


More information about the Python-list mailing list