From 829d4347cea9e5e9e94ad08921b8681957efb6ab Mon Sep 17 00:00:00 2001 From: Lorenzo Pieri Date: Mon, 16 Oct 2017 15:57:33 +0200 Subject: [PATCH] Added hello world script compatible with both Python 2 and Python 3 - Fix #237 (#239) * Added hello world script for python 2 and 3 * Update hello_world.py --- hello_world/hello_world.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 hello_world/hello_world.py diff --git a/hello_world/hello_world.py b/hello_world/hello_world.py new file mode 100644 index 000000000..4ca10d690 --- /dev/null +++ b/hello_world/hello_world.py @@ -0,0 +1,5 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals, print_function, absolute_import + +if __name__ == '__main__': + print('\nHello World!')