Skip to content

Instantly share code, notes, and snippets.

@chinmay29hub
Created May 7, 2022 18:06
Show Gist options
  • Save chinmay29hub/79528a8724046b94d7960e655bef5b7b to your computer and use it in GitHub Desktop.
Save chinmay29hub/79528a8724046b94d7960e655bef5b7b to your computer and use it in GitHub Desktop.
A simple pyscript hello world program.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PyScript</title>
<link rel="stylesheet" href="https://pyscript.net/alpha/pyscript.css" />
<script defer src="https://pyscript.net/alpha/pyscript.js"></script>
</head>
<body>
<py-script>
print("Hello World!")
</py-script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment