working with files and directories
Hi all, I'm new with Python, and I thought to use it to automatically rename some files in a directory, but I don't know where should I search the functions: to get all the files of a directory, to rename the files and so on. Thank you. -- http://mail.python.org/mailman/listinfo/python-list
Re: working with files and directories
"Thomas Ploch" <[EMAIL PROTECTED]> ha scritto nel messaggio
news:[EMAIL PROTECTED]
> Have you actually even tried to find some "documentation"?
> Have you placed a google search "python directories rename files"?
> Thomas
Actually I did it on the documentation file provided with the windows
distribution. I took a look at 11 ("File and Directory Access") but the
listed functions doesn't appear to be what I need. 14.1.4 should do the job,
but was not as intuitive to find as the previous one.
--
http://mail.python.org/mailman/listinfo/python-list
Re: working with files and directories
"Bryan Olson" <[EMAIL PROTECTED]> ha scritto nel messaggio news:[EMAIL PROTECTED] > halex2000 wrote: >> Hi all, I'm new with Python, and I thought to use it to automatically >> rename some files in a directory, but I don't know where should I search >> the functions: to get all the files of a directory, to rename the files >> and so on. > > Python programmers are constantly looking at: > > http://docs.python.org/lib/lib.html > > In this case, see 14.1.4, 11.1, and 11.10. > > Happy hacking. > > -- > --Bryan > Thank you very much :-) -- http://mail.python.org/mailman/listinfo/python-list
Re: working with files and directories
"Duncan Booth" <[EMAIL PROTECTED]> ha scritto nel messaggio
news:[EMAIL PROTECTED]
> "halex2000" <[EMAIL PROTECTED]> wrote:
>> "Thomas Ploch" <[EMAIL PROTECTED]> ha scritto nel messaggio
>> news:[EMAIL PROTECTED]
>>> Have you actually even tried to find some "documentation"?
>>> Have you placed a google search "python directories rename files"?
>>> Thomas
>>
>> Actually I did it on the documentation file provided with the windows
>> distribution. I took a look at 11 ("File and Directory Access") but
>> the listed functions doesn't appear to be what I need. 14.1.4 should
>> do the job, but was not as intuitive to find as the previous one.
>>
> Do you know about the search tab in windows help? Searching for "rename
> files", or indeed a search identical to the one suggested for Google will
> both find 14.1.4 as the top hit.
I'm aware of it, thank you. I usually don't use to ask for infos that I
could easily find myself in a few seconds, but I had not the time at the
moment to even start a search (of course, If I knew it would have been so
quick, I would have done it myself). I was just under the impression that I
was looking in the wrong place.
--
http://mail.python.org/mailman/listinfo/python-list
