[PYTHONMAC-SIG] Mac open()

Robin Friedrich friedric@phoenix.net
Wed, 19 Jun 1996 21:50:54 -0500


This is really bugging me.
On my mac, I can't seem to use the open() function for
files in subfolders. I'm using the right separator etc.
But it insists on failing to find the file.  I'm using
the 1.3 PowerPC version.  Any idea's?  This may relate
to the faulty rename builtin function.

>>> s = open('data:DoI.txt')
Traceback (innermost last):
  File "<stdin>", line 1, in ?
IOError: (-43, 'File not found')
>>> os.listdir('data')
['DoI.txt', 'parrot']
>>> f = open('data:a','w')
Traceback (innermost last):
  File "<stdin>", line 1, in ?
IOError: (-43, 'File not found')

=================
PYTHONMAC-SIG  - SIG on Python for the Apple Macintosh

send messages to: pythonmac-sig@python.org
administrivia to: pythonmac-sig-request@python.org
=================