diff options
author | bnewbold <bnewbold@robocracy.org> | 2016-06-16 16:15:18 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2016-06-16 16:15:18 -0400 |
commit | 4e69cacd06fa729ed108df7f73dd0280cbdc0e7e (patch) | |
tree | c62176062a6c175bd199b16f078e19053c5a2a1c | |
parent | 84f6fc774ef06c44ddb03df67636e68d4d53cb40 (diff) | |
download | PyX.jl-4e69cacd06fa729ed108df7f73dd0280cbdc0e7e.tar.gz PyX.jl-4e69cacd06fa729ed108df7f73dd0280cbdc0e7e.zip |
doc: add pyrecwrap.jl gist link
-rw-r--r-- | HACKING | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -14,8 +14,8 @@ Using PyCall, we can map python modules to Julia modules with the same syntax: julia> os.uname() julia> os.O_RDONLY -And using a recursive version of pywrap (`pyrecwrap`), we can get nested -modules to map also: +And using a recursive version of pywrap (`pyrecwrap`, see below), we can get +nested modules to map also: python> import os python> os.path.genericpath.os.uname() @@ -46,3 +46,6 @@ dot ('.') operator can be overridden (as of Julia 0.4 it may not). The work around used in this project (PyX.jl) is to use underscores in object/function names and dots in object/module names. Eg, `style.linewidth(0.2)` vs. `style_linewidth.THICK`. + +Note: pyrecwrap can be found in the "pyrecwrap" branch of this repo, or at +https://gist.github.com/bnewbold/b9a701e06b9da319a58dc9526b09c4a5 |