TKinter on Win98 and os.popen

Damian Dobroczyñski dd at ar-kari.put.poznan.pl
Thu Feb 3 13:59:02 CET 2000


Problem description:

script:

import os
f = os.popen('python -c "print 1"','r')

on Win98 Python in IDLE shell ends up with exception:

"Traceback (innermost last):
  File "<pyshell#1>", line 1, in ?
    f = os.popen('python -c "print 1"','r')
OSError: (0, 'Error')"

Other 'popens' with other commands also fails. Is it normal behaviour when
using Tkinter mod?

Damian D.






More information about the Python-list mailing list