Vedant Bhosale
Vedant Bhosale

Reputation: 91

Can you import any python library in Julia?

My doubt was can you import any python module or library in Julia and vice versa.I am just getting started with Julia language so just want to know about it.

Upvotes: 5

Views: 1977

Answers (1)

Roshan
Roshan

Reputation: 724

After quick googling, I found this site : https://github.com/JuliaPy/PyCall.jl where you can call python library's functions from Julia.

Here's a small example in using it (importing math module) :

using PyCall
math = pyimport("math")

You can now call functions like : math.sin() etc.

Upvotes: 7

Related Questions