Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

run python in html

Option 1: Use a Python library such as Django or Flask

Option 2: Run Python through by embedding PHP into HTML

<?PHP
echo shell_exec("python main.py");
?>
Source by engineering.anaconda.com #
 
PREVIOUS NEXT
Tagged: #run #python #html
ADD COMMENT
Topic
Name
7+4 =