|
Original |
Translation |
|
1147
|
\\conky\foo is not a directory \\conky\foo\ is a directory \\conky\foo\media is a directory \\conky\foo\media\ is not a directory
|
|
|
1148
|
cgi.py (or other CGI programming) doesn't work sometimes on NT or win95!
|
|
|
1149
|
Be sure you have the latest python.exe, that you are using python.exe rather than a GUI version of Python and that you have configured the server to execute ::
|
|
|
1150
|
|
|
|
1151
|
|
1152
|
Why doesn't os.popen() work in PythonWin on NT?
|
|
|
1153
|
The reason that os.popen() doesn't work from within PythonWin is due to a bug in Microsoft's C Runtime Library (CRT). The CRT assumes you have a Win32 console attached to the process.
|
|
|
1154
|
You should use the win32pipe module's popen() instead which doesn't depend on having an attached Win32 console.
|
|
|
1155
|
|
|
|
1156
|
import win32pipe f = win32pipe.popen('dir /c c:\\') print(f.readlines()) f.close()
|
|