17 Dec
2003
17 Dec
'03
11:13 a.m.
Hi, I'm trying to open a file from a windows network drive from a external python script in ZOPE: The operation looks like this: fh = Open('\\\\projects/subprojectname/sound/C01-1_FAS_01AS.wav','rb') I also tried: fh = Open('\\\\projects\\subprojectname\\sound\\C01-1_FAS_01AS.wav','rb') Both operation fails with this error: Error Type: IOError Error Value: [Errno 22] Invalid argument When I try the two operation above from a standalone python script everything works fine. I also tried to open a locale file from my ZOPE script example: fh = open('c:\\test.txt','rb') And this works fine too. What am I doing wrong? Best Regards Jørgen Larsen