[Python] How can I run a Python script in HTML?

Discussão em 'Python' iniciado por Stack, Setembro 9, 2025.

  1. Stack

    Stack Membro Participativo

    Currently I have some Python files which connect to an SQLite database for user inputs and then perform some calculations which set the output of the program. I'm new to Python web programming and I want to know: What is the best method to use Python on the web?

    Example: I want to run my Python files when the user clicks a button on the web page. Is it possible?

    I started with Django. But it needs some time for the learning. And I also saw something called CGI scripts. Which option should I use?

    Continue reading...

Compartilhe esta Página