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 > Settings\michel

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 r

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 secr

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

Re: open file with whitespaces

2006-05-19 Thread bruno at modulix
mardif wrote: > Hi guys. > I've a very big big big problem: I think a lot of people in the world would not find it so big wrt/ their own situation... > 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 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 cance

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 so