[Tutor] Help search files
Alan Gauld
alan.gauld at btinternet.com
Wed Jul 4 19:00:13 CEST 2007
"Alejandro Decchi" <adecchi at gmail.com> wrote
> form where the user write the word to search
> and if the file was found
Do you mean the word is the filename (use glob module)
or the word is inside the file (use os.walk)?
Amnd do you need an exact match or a wild card search.
The latter will use either glob or regular expressions(re module)
> user must could download the file making click in the link
You can use the ftlib module for that.
HTH,
Alan G
More information about the Tutor
mailing list