Hi guys.
I've a very big big big problem:
I've in my windows computer a file named cicciobello.htm l, located in
c:\documents and settings\userna me\desktop\cicc iobello.html.
Now, I MUST open this file with os.spawn(os.P_W AIT ...., because I must
wait the user cancel the explorer window, ok?
And so, I write:
import os
os.spawnl(os.P_ WAIT, "c:\programmi\i nternet explorer\iexplo rer.exe",
"c:\documen ts and settings\userna me\desktop\cicc iobello.html")
the python process don't fail, but explorer don't visualize correctly
the file opened: i receive an "not found" error message.
I've found that the whitespaces in file path are the problem.
If you see to explorer address bar, you will find the address
completely wrong...
I've found no solution!
Can you help me, please??
thx very very very much!!!
I've a very big big big problem:
I've in my windows computer a file named cicciobello.htm l, located in
c:\documents and settings\userna me\desktop\cicc iobello.html.
Now, I MUST open this file with os.spawn(os.P_W AIT ...., because I must
wait the user cancel the explorer window, ok?
And so, I write:
import os
os.spawnl(os.P_ WAIT, "c:\programmi\i nternet explorer\iexplo rer.exe",
"c:\documen ts and settings\userna me\desktop\cicc iobello.html")
the python process don't fail, but explorer don't visualize correctly
the file opened: i receive an "not found" error message.
I've found that the whitespaces in file path are the problem.
If you see to explorer address bar, you will find the address
completely wrong...
I've found no solution!
Can you help me, please??
thx very very very much!!!
Comment