diff options
Diffstat (limited to 'examples/pythonex.nim')
-rwxr-xr-x | examples/pythonex.nim | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/examples/pythonex.nim b/examples/pythonex.nim deleted file mode 100755 index e2664f350..000000000 --- a/examples/pythonex.nim +++ /dev/null @@ -1,12 +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() - |