Python Forum

Full Version: Generating web page from argparse parameters
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi guys,

Do you know any tool (module) or have any idea to do this?
I'd like to get some python scripts (all using argparse) and build a front-end (simple form with argparse's info) to the final users.
These scripts will be in constant update, so I'll have to check them time to time to see the output of argparse and update the front-end.
I start coding from ground, but it's getting too big. So I think I'm on the wrong way... Confused
If it's getting too big separate it to modules and make an app.
I really appreciate your advise but it's not what I'm looking for...
Just to record, I tested warped but it didn't work well. I had to modify a bunch of code from target scripts.
If you'd like help with your code, please share your code :)

You mentioned warped, which sounds exactly like what you're asking. It might be easier to create a wrapper around that, if it's almost what you want.