Re: open file with whitespaces

2006-05-20 Thread Claudio Grondi
mardif wrote: OK OK GUYS I've found the solution: ( effectly, a friend of mine has found the solution ) import os os.spawnl(os.P_WAIT, c:\programmi\internet explorer\iexplore.exe,'C:\Documents and Settings\michele\Desktop\ciccio.html','C:\Documents and

open file with whitespaces

2006-05-19 Thread mardif
Hi guys. I've a very big big big problem: I've in my windows computer a file named cicciobello.html, located in c:\documents and settings\username\desktop\cicciobello.html. Now, I MUST open this file with os.spawn(os.P_WAIT , because I must wait the user cancel the explorer window, ok? And

Re: open file with whitespaces

2006-05-19 Thread Christophe
mardif a écrit : Hi guys. I've a very big big big problem: I've in my windows computer a file named cicciobello.html, located in c:\documents and settings\username\desktop\cicciobello.html. Now, I MUST open this file with os.spawn(os.P_WAIT , because I must wait the user cancel the

Re: open file with whitespaces

2006-05-19 Thread bruno at modulix
mardif wrote: Hi guys. I've a very big big big problem: ot I think a lot of people in the world would not find it so big wrt/ their own situation... /ot I've in my windows computer a file named cicciobello.html, located in c:\documents and settings\username\desktop\cicciobello.html. Now,

Re: open file with whitespaces

2006-05-19 Thread Claudio Grondi
Christophe wrote: mardif a écrit : Hi guys. I've a very big big big problem: I've in my windows computer a file named cicciobello.html, located in c:\documents and settings\username\desktop\cicciobello.html. Now, I MUST open this file with os.spawn(os.P_WAIT , because I must wait

Re: open file with whitespaces

2006-05-19 Thread mardif
OK OK GUYS I've found the solution: ( effectly, a friend of mine has found the solution ) import os os.spawnl(os.P_WAIT, c:\programmi\internet explorer\iexplore.exe,'C:\Documents and Settings\michele\Desktop\ciccio.html','C:\Documents and Settings\michele\Desktop\ciccio.html') The secret

Re: open file with whitespaces

2006-05-19 Thread Fredrik Lundh
mardif wrote: Now, I MUST open this file with os.spawn(os.P_WAIT , because I must wait the user cancel the explorer window, ok? note that backslashes in string literals have special meaning in Python; to make sure a backslash in the string literal really ends up as a backslash in the