Skip to content
Advertisement

How to export python files for other use? [closed]

I am looking to export some .py files so I can include them in a website. I am not sure any method to export the files however. Could someone please link some useful information or explain a procedure so the files can be executed using buttons on a website (particularly a HTML site)?

Advertisement

Answer

You can use UWSGI as an intermediary between your Python files and nginx (as a web server). But this is not as easy as executing php files, since the php executor comes with any web server. Or call python files as external programs from your existing site.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement