ismaelvc@vm-0:~$ sudo ipython console --profile=julia
Python 2.7.4 (default, Apr 19 2013, 18:28:01)
Type "copyright", "credits" or "license" for more information.
IPython 1.1.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
IPython profile: julia
Starting kernel event loops.
In [1]: for i in 1:10
syntax: incomplete: premature end of input
at In[22]:2
In [2]:
KeyboardInterrupt
In [3]: for i in 1:10
syntax: incomplete: premature end of input
at In[3]:2
In [4]: for i = 1:10
syntax: incomplete: premature end of input
at In[4]:2
In [5]: for i = 1:10 print(i) end
12345678910
In [6]: function test()
syntax: incomplete: premature end of input
at In[6]:2
In [7]: function test() println("TEST") end
Out[7]: test (generic function with 1 method)
In [8]: test()
TEST