saving file name from html form input

Posted by user343934 on Stack Overflow See other posts from Stack Overflow or by user343934
Published on 2010-05-23T12:13:22Z Indexed on 2010/05/23 12:20 UTC
Read the original article Hit count: 212

Filed under:

I am working on python and biopython right now. I have a file upload form and whatever file is uploaded suppose(abc.fasta) then i want to pass same name in execute (abc.fasta) function parameter and display function parameter (abc.aln).

Workflow goes like this.

----If submit is not true then display only header and form part

--- if submit is true then call execute() and get file name from form input

--- Then display the save file result in the same page. File name is same as input.

My raw code is here -- http://pastebin.com/FPUgZSSe

Any suggestions, changes and algorithm is appreciated

Thanks

© Stack Overflow or respective owner

Related posts about file