Is there anything similar to chr(65) for creating a single byte string
that doesn't involve creating an intermediate string or tuple object?

 bytes(chr(65))
 bytes((65,))

both seem slightly weird.

Greg

_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to