the link.
Thz
On 7/5/07, Alan Gauld [EMAIL PROTECTED] wrote:
Alejandro Decchi [EMAIL PROTECTED] wrote
Yes I have a debian server runing apache. Can you give me a link?
I could give you lots of links but which is most useful will depend
on your level of knowledge. I get the impression that you
Hello Someone can help me how to search file in a directory. I need to do a
form where the user write the word to search and if the file was found the
user must could download the file making click in the link
Sorry my english
thz
Alex
___
Tutor
found
making click in the link listed in ther form
On 7/4/07, Alan Gauld [EMAIL PROTECTED] wrote:
Alejandro Decchi [EMAIL PROTECTED] 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
Is the word or part of the word that the user enters in the texbox .And this
word is the name of the file to be found
On 7/4/07, Alan Gauld [EMAIL PROTECTED] wrote:
Alejandro Decchi [EMAIL PROTECTED] wrote
The user put the word or the regular expresion in a textbox i need
to do
when
perfect but can you give me a link to find a file in a directory.Because i
do not the function to search files in some directory. Can you give an
example :
On 7/4/07, Alan Gauld [EMAIL PROTECTED] wrote:
Alejandro Decchi [EMAIL PROTECTED] wrote
Is the word or part of the word that the user
[EMAIL PROTECTED] wrote:
Just set the current directory to the one you want to search using
os.chdir(myPath)
or pass a full path to glob:
glob.glob(/some/path/to/search/*.txt)
HTH,
Alan G.
Alejandro Decchi [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
perfect but can you give me
Yes I have a debian server runing apache. Can you give me a link ? Because i
do not how to make the search and list the files found to download
On 7/4/07, Alan Gauld [EMAIL PROTECTED] wrote:
Alejandro Decchi [EMAIL PROTECTED] wrote
Ok but i have this form:
body
form id=form1 name=form1