File management

Posted by user343934 on Stack Overflow See other posts from Stack Overflow or by user343934
Published on 2010-05-23T14:00:48Z Indexed on 2010/05/23 14:30 UTC
Read the original article Hit count: 258

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). Right now i am changing file name manually, but i want to have it automatically.

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 python