summaryrefslogtreecommitdiffstats
path: root/Mac/Tools/macfreeze
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1998-06-26 14:56:38 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1998-06-26 14:56:38 (GMT)
commitecf960fe188bfc97c68bc9e40c69554e06bcdbce (patch)
treea0fe796b0eee9e0d10931e6441a8a3eb3d4e2236 /Mac/Tools/macfreeze
parent144fa678d28492b5544b6a31d947b3cd1a2e5ef9 (diff)
downloadcpython-ecf960fe188bfc97c68bc9e40c69554e06bcdbce.zip
cpython-ecf960fe188bfc97c68bc9e40c69554e06bcdbce.tar.gz
cpython-ecf960fe188bfc97c68bc9e40c69554e06bcdbce.tar.bz2
A well-known example for freeze.
Diffstat (limited to 'Mac/Tools/macfreeze')
-rw-r--r--Mac/Tools/macfreeze/hello/hello.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Mac/Tools/macfreeze/hello/hello.py b/Mac/Tools/macfreeze/hello/hello.py
new file mode 100644
index 0000000..a713733
--- /dev/null
+++ b/Mac/Tools/macfreeze/hello/hello.py
@@ -0,0 +1,5 @@
+import sys
+
+print 'Hello world'
+print 'Builtin modules:', sys.builtin_module_names
+sys.exit(1)