Julia for Python Programmers

2013-12-02 » Julia

This is a series of mini posts about using Julia from a python programmer’s perspective. There have already been quite a few opinion pieces on Julia. So let us get to code directly :)

First we need to install Julia. At present there are binaries available only for Windows, Mac and Ubuntu. I set it up from github but it was fairly straight forward. Check Julia Source to setup Julia. Next we need to setup Julia to work with ipython. For that start the Julia REPL with the command


Next load the package IJulia.


That should setup julia to work with Ipython. Note: This assumes that you already have ipython installed.

Please run the following code in terminal to start iJulia.

ipython notebook --profile julia

Or you can add the following line to your bashrc file.

alias ijulia="ipython notebook --profile julia"

Now we need to source the bashrc file for the line to have effect.

source ~/.bashrc

Now runnin the command ‘ijulia’ should start Ipython in Julia mode.

There already are several good sources to learn Julia from.

So this blog series will try to have a different focus, analyzing the similarities and differences between Python and Julia

Since I’m time constrained, I’m planning to make a series of small blog posts rather than one large post. I plan to use this post as the reference. So I will be adding links to the other posts here as and when I add them. These posts will make more sense if you read Learn Julia in Y minutes first.

comments powered by Disqus