Thanks Steven! I'll check it!!
Saludos!!
Citlalyy
--
http://mail.python.org/mailman/listinfo/python-list
Thanks Steven! I'll check it!!
Saludos!!
--
http://mail.python.org/mailman/listinfo/python-list
Thanks a lot Bearophile!! It works great! Well, it seems something
easy for experts, but for beginners as me, your help is very useful...
thanks!!
Citlalyy
>
> >>> import os
> >>> os.listdir("...path...")
> [ file names... ]
>
> If you are using Windows I suggest you to invert the slashes of t
citlaly wrote:
> Hi!!
> I'm a beginner in python and I'm trying to use the files from a
> "folder" as a list. What I want to do is read each one as a list, but
> just the name of the file, the data inside doesn't matter. How can I do
> it? I was trying using a list, but I don't know how "convert"
citlaly:
> I'm trying to use the files from a
> "folder" as a list. What I want to do is read each one as a list, but
> just the name of the file, the data inside doesn't matter.
>>> import os
>>> os.listdir("...path...")
[ file names... ]
If you are using Windows I suggest you to invert the
On 18 Sep 2006 17:09:22 -0700, citlaly <[EMAIL PROTECTED]> wrote:
> Hi!!
> I'm a beginner in python and I'm trying to use the files from a
> "folder" as a list. What I want to do is read each one as a list, but
> just the name of the file, the data inside doesn't matter. How can I do
> it? I was