Writing escape sequences

Michal Wallace sabren at manifestation.com
Sun Feb 13 03:29:51 EST 2000


Arinte wrote in message <885hg6$7it$1 at nnrp1.deja.com>...
>I am trying to have python write "\x00" to my c++ program.  But, it
>seems Python skips right over this function.  Any ideas why?

>
>this is suppose goes directly to my c++ program
>
>CPlus.write("write")
>
>class CPlus:
>   def write(self, str):
>      toapp.write(self, str)


Beats me... I don't really understand what you're trying to do..
but passing "self" to "toapp.write" looks kinda fishy..

Are you really looking for something like os.popen()?

-Michal
http://www.sabren.com/







More information about the Python-list mailing list