Bill Sneddon wrote: > Right know I am interested in finding out how to > access a windows server share in Python 2.4. Seems to > work fine in Python 2.5 with win32 installed, but the > MoinMoin server at work has not been upgraded. > The problem is this open can not use this kind of > path.
OK. There's absolutely no reason why -- with or without pywin32 installed -- Python shouldn't be able to open a share in the way you describe. Just to make absolutely sure, I've just installed a vanilla Python 2.4.4 from python.org, no extensions, nothing. <dump> Python 2.4.4 (#71, Oct 18 2006, 08:34:43) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> open (r"\\vogbp393\c$\boot.ini", "r") <open file '\\vogbp393\c$\boot.ini', mode 'r' at 0x00A7A410> >>> </dump> No problem. Are you sure there isn't something else in the way? Permissions? Connectivity, even? What error are you getting? Can you dump the traceback? TJG _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32