On Wednesday, November 2, 2016 at 2:43:27 PM UTC-4, Alexei Serdiuk wrote:
>
> I'm new to Julia and, unfortunately, I'm almost zero to Python. 
>

An unfortunate combination — better to learn one programming language 
before you deal with inter-language calling.
 

> I need to call Julia code from Python. This code must do some operations 
> and then return it back to Python.
>

Google "pyjulia"
 

> I have an example for calling Java:
>

That code is calling Java by piping the input and output through files and 
popen.  You can do the exact same thing with Julia too, of course, but 
pyjulia is far more efficient: it calls Julia as a library, within the same 
process, and can even pass large arrays without making copies. 

Reply via email to