[Tutor] buffering IO

John P Speno speno at isc.upenn.edu
Wed Aug 27 15:43:32 EDT 2003


On Mon, Aug 25, 2003 at 07:34:50AM +0400, Denis Dzyubenko wrote:
> How should I launch python-program in this case - should I use
> 'popen("/usr/bin/python2.2 -u /tmp/pychat.py")' or there is another way
> to launch it?

That makes it look like you're trying to start your program inside of
another applications (maybe in C?). That looks like it will work. You can
also probably edit the shbang line in your pychat.py script to be:

    #!/usr/bin/python2.2 -u



More information about the Tutor mailing list