putchar(8)

Jason Tackaberry tack at urandom.ca
Fri Oct 16 15:17:38 EDT 2009


On Fri, 2009-10-16 at 12:01 -0700, gervaz wrote:
> Hi all, is there in python the equivalent of the C function int putchar
> (int c)? I need to print putchar(8).

>>> print '\x08'

or:

>>> print chr(8)





More information about the Python-list mailing list