Marc 'BlackJack' Rintsch wrote: > In <[EMAIL PROTECTED]>, Claudio Grondi wrote: > > >>Here an example of what I mean >>(Python 2.4.2, IDLE 1.1.2, Windows XP SP2, NTFS file system, 80 GByte >>large file): >> >> >>> f = file('veryBigFile.dat','r') >> >>> f = file('veryBigFile.dat','r+') > > > You mention the file size and gave a "speaking" name to that file -- does > the file size matter? Yes, it does. I haven't tested it yet, but I suppose 2 or 4 GByte threshold value. > > >>Traceback (most recent call last): >> File "<pyshell#1>", line 1, in -toplevel- >> f = file('veryBigFile.dat','r+') >>IOError: [Errno 2] No such file or directory: 'veryBigFile.dat' >> >>Is it a BUG or a FEATURE? > > > It's the error number Windows returns for that operation. So you just try to say: "it's not Python fault - it's just another bug of the damn Microsoft Windows operating system", right?
Claudio Grondi -- http://mail.python.org/mailman/listinfo/python-list