PyCharm
 
Get PyCharm
You are viewing the documentation for an earlier version of PyCharm.

PyScript

Last modified: 25 July 2022

Available only in PyCharm Professional: download to try or compare editions

PyScript is a framework that allows you to create Python applications in the browser using HTML interface.

PyCharm provides basic code completion and validation for Python code in an HTML file written using PyScript.

When you've added Python code to the HTML file, you can preview the output in a browser. For more details on how to preview HTML files in PyCharm, see Viewing Pages with Web Contents.

Preview the output of Python code created with PyScript