python equivalent for fputc

Putty jaysherby at gmail.com
Wed Aug 30 21:14:39 EDT 2006


I'm porting a program a friend wrote in C over to Python and I've run
into a little hang-up.  The C program writes characters out to a file.
I'm 99% sure that a conversion is going on here as well.  I know for a
fact that it's taking a number and turning it into a character.

So what kind of call can I make to do it in Python?




More information about the Python-list mailing list