Alexi,

While you may want it to be otherwise, Steven is right.  There have been a 
few programming languages that were designed to be useful with very little 
instruction.  Julia, Python, Java, and most other modern languages are not 
that way.  And while it would be great if there really were a forthcoming 
interlingua .. there is not, not today anyway.  The best advice any of us 
could give you is to revisit the reason that you find a need to do this 
that way, and find an alternative way to satisfy that expectation.  No 
reasonable teacher or manager would expect you to make that happen without 
much more experience.  And once you have the experience, you would probably 
still want to choose a different way to work this.

*with some simpatico*


On Wednesday, November 2, 2016 at 6:21:20 PM UTC-4, Steven G. Johnson wrote:
>
>
>
> 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