Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Abente Lahaye <tch@sugarlabs.org>2013-01-12 21:52:28 (GMT)
committer Martin Abente Lahaye <tch@sugarlabs.org>2013-01-12 21:52:28 (GMT)
commitdd32f9af28f083420760b7be7b48ed7a15c42ea4 (patch)
tree9a707f6fe4d8bcff849a4ce254ae3fa5f3b96800
parent3debf89f8e8691b7770e09be0f6ef0033bd6e171 (diff)
First example - helloworld
-rwxr-xr-x001-helloworld/example.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/001-helloworld/example.py b/001-helloworld/example.py
new file mode 100755
index 0000000..ab125d4
--- /dev/null
+++ b/001-helloworld/example.py
@@ -0,0 +1,8 @@
+#!/usr/bin/python
+
+
+def main():
+ print 'Hello world!'
+
+if __name__ == "__main__":
+ main()