Last active
August 29, 2015 14:16
-
-
Save lateefj/7364f68724f6f377933f to your computer and use it in GitHub Desktop.
Simple Python import
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import nimborg/py/low_level | |
import nimborg/py/high_level | |
let pystring = pyImport("string") | |
let pydigits = pystring.digits | |
var pyObj: PPyObject = pydigits | |
echo(PyList_Size(pyObj)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment