I have a python program where I prompt the user for two files, and I do 
some programming and output a new file...

How can I make this work with web2py?


I was thinking having a form with 2 upload fields, and a text field so they 
can give a name to the file that will be generated from the code. After 
form submission I access the two uploaded files from form.vars and do what 
needs to be done, then not sure how I would output a downloadable file for 
the user?

None of these files need to be saved in the database for later retrieval so 
not sure if I should just use sqlformfactory, this is all something that 
would happen during their session and they can choose to save the new file 
to their computer. 



Any advice will help, thank you


-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to