mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-19 18:27:29 -05:00
* Add and run end-of-file-fixer * Add and run trailing-whitespace * Add and run check-yaml * Add and run check-json * Add and run pretty-format-yaml * Fix comment indentation
25 lines
603 B
HTML
25 lines
603 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
|
|
|
<title>PyScript Hello World</title>
|
|
|
|
<link rel="icon" type="image/png" href="favicon.png" />
|
|
<link rel="stylesheet" href="../build/pyscript.css" />
|
|
|
|
<script defer src="../build/pyscript.js"></script>
|
|
</head>
|
|
|
|
<body>
|
|
Hello world! <br>
|
|
This is the current date and time, as computed by Python:
|
|
<py-script>
|
|
from datetime import datetime
|
|
now = datetime.now()
|
|
now.strftime("%m/%d/%Y, %H:%M:%S")
|
|
</py-script>
|
|
</body>
|
|
</html>
|