summary refs log tree commit diff stats
path: root/examples/pythonex.nim
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pythonex.nim')
-rw-r--r--examples/pythonex.nim11
1 files changed, 0 insertions, 11 deletions
diff --git a/examples/pythonex.nim b/examples/pythonex.nim
deleted file mode 100644
index 310d80151..000000000
--- a/examples/pythonex.nim
+++ /dev/null
@@ -1,11 +0,0 @@
-# Example to embed Python into your application
-
-import python
-
-# IMPORTANT: Python on Windows does not like CR characters, so
-# we use only \L here.
-
-Py_Initialize()
-discard PyRun_SimpleString("from time import time,ctime\L" &
-                           "print 'Today is',ctime(time())\L")
-Py_Finalize()