"'{' is not recognized as an internal or external command,\noperable program or batch file.">>> import julia
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "./julia/__init__.py", line 3, in <module>
from core import Julia
ImportError: No module named 'core'
ipython notebook --profile julia works for me.
mm=50 ; 50m
Julia Version 0.2.0+41 Commit ca2f144* (2013-11-19 04:43 UTC) Platform Info: System: Darwin (x86_64-apple-darwin11.4.2) WORD_SIZE: 64 BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY) LAPACK: libopenblas LIBM: libopenlibm
It would be great to turn the Python-Julia bindings buried in IJulia into a legitimate Python package. I'm not sure what's necessary for that, but I suspect that it would get used quite a bit.
from julia.FFTW import fft
from julia import ones
assert(fft(ones(100)[0]==100)
# or to import all functions exported from base
from julia.Base import *
# or import an installed package
from julia import Color
Jake, that syntax looks great, and your pyjulia repo seems like a good starting point for future work. Having a single global Julia environment doesn't seem like a problem to me. (After all, you can only have a single global Python environment too.)