From ec19bfe47a68baacc49561990e1458205ed0088a Mon Sep 17 00:00:00 2001 From: Antonio Cuni Date: Wed, 27 Apr 2022 10:07:59 +0200 Subject: [PATCH] fix indentation error, and clarify the purpose of the demo --- pyscriptjs/examples/simple_script.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pyscriptjs/examples/simple_script.html b/pyscriptjs/examples/simple_script.html index 70fe94554d0..aaa3fbff53e 100644 --- a/pyscriptjs/examples/simple_script.html +++ b/pyscriptjs/examples/simple_script.html @@ -4,7 +4,7 @@ - Svelte app + Simple script @@ -13,10 +13,12 @@ + Hello world!
+ This is the current date and time, as computed by Python: - from datetime import datetime - now = datetime.now() - now.strftime("%m/%d/%Y, %H:%M:%S") +from datetime import datetime +now = datetime.now() +now.strftime("%m/%d/%Y, %H:%M:%S")