bug report w\o registering

Anton Vredegoor anton at vredegoor.doge.nl
Mon Nov 4 22:41:42 EST 2002


Hello All!

Here's a bug report. I don't want to register at SourceForge now
(browser settings etc.). Sorry for the inconvenience.

Anton.

Python 2.2.2 (#37, Oct 14 2002, 17:02:34) [MSC 32 bit (Intel)] on
win32
Type "copyright", "credits" or "license" for more information.
IDLE 0.8 -- press F1 for help
>>> import os,popen2
>>> infile,outfile = os.popen2("dir","b",-1)
>>> outfile,infile = popen2.popen2("dir","b",-1)
Traceback (most recent call last):
  File "<pyshell#2>", line 1, in ?
    outfile,infile = popen2.popen2("dir","b",-1)
  File "D:\PYTHON22\lib\popen2.py", line 123, in popen2
    w, r = os.popen2(cmd, mode, bufsize)
TypeError: popen2() argument 2 must be string, not int
>>> 




More information about the Python-list mailing list