summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/didactic/hello.py
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/didactic/hello.py')
-rw-r--r--macros/latex/contrib/didactic/hello.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/macros/latex/contrib/didactic/hello.py b/macros/latex/contrib/didactic/hello.py
new file mode 100644
index 0000000000..4034830401
--- /dev/null
+++ b/macros/latex/contrib/didactic/hello.py
@@ -0,0 +1,7 @@
+"""A Hello World example in Python 3"""
+
+def main():
+ print("Hello, world!")
+
+if __name__ == "__main__":
+ main()