Home  >  Q&A  >  body text

How to embed Python code into HTML?

Recently, I am working on my HTML project and I want to add some functionality and I have written the corresponding code in Python. However, I'm running into a problem where I can't add this Python code to my HTML code. So I want to know how to add my Python code to my HTML code.

P粉460377540P粉460377540381 days ago520

reply all(1)I'll reply

  • P粉504920992

    P粉5049209922023-09-10 19:14:38

    You can use PyScript, which is a new framework that uses Python in HTML code to develop applications.

    reply
    0
  • Cancelreply