Open script
Pedro Silva
psilva at ruido-visual.pt
Thu Feb 10 07:53:38 EST 2000
Hi,
I'm trying to use OPEN to open a folder, because I need to get the content of that folder.
This folder is in the filesystem.
The code line that I'm using is:
f = open('var/spool/news/articles','r')
fs = f.realines()
return fs
But this is giving me and error. Is this correct or because articles is a folder and is because of that that the error is displayed.
Please send me your answers to: psilva at ruido-visual.pt
Thanks,
Pedro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20000210/7cbf14cf/attachment.html>
More information about the Python-list
mailing list