Dynamic webpage, with python and wordpress
-
I have a python code that takes text as input, processes it, and spits out some statistics. Think e.g. a static code analyzer that takes a C++ file as input and as output it dynamically shows e.g. number of lines of code, detailed warnings and some explanations to the warnings.
Now I’d like to move this console app to the web. Question is: how?
I’d like to either upload a text file or paste the text in a text box on the webpage, hit a button, and then I’d like to see a dynamically generated webpage featuring some charts, and a nice looking summary of the warnings maybe including some icons that indicate the level of severity. You get the idea.
Ideally, I’d like this dynamically generated results webpage to fit inside a WordPress site.
I’ve spent a few hours on the internet trying to find a tutorial or some hint, but couldn’t find much, really. I guess that with flask I could make a basic version (without WordPress) work, or would it? Would you recommend flask?
Do you know any tutorial, a nice example, or any point to start?
And is there a way to embed the result to WordPress, ideally taking advantage of the responsive themes so it looks good on both desktops and phones?
I’d appreciate any help.
The topic ‘Dynamic webpage, with python and wordpress’ is closed to new replies.