You are not logged in.

#1 2007-01-03 14:44:12

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,914
Website

text highlighting in Irb and Python

Noticed coloured syntax of irb in a  terminal screenshot how is it set up under Arch ?


Mr Green

Offline

#2 2007-01-03 15:18:23

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: text highlighting in Irb and Python

Colored python syntax? You can do that in any editor that supports syntax highlighting.  vim, nano, emacs, to name a few.

Offline

#3 2007-01-03 15:55:06

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,914
Website

Re: text highlighting in Irb and Python

Sorry I meant in a term .... ie when you run xterm & type python ?


Mr Green

Offline

#4 2007-01-03 16:07:02

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: text highlighting in Irb and Python

Do you mean something like this:
http://ipython.scipy.org/screenshots/snapshot1.png

If so, that's ipython (last I checked it was in community)

Offline

#5 2007-01-03 16:23:25

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,914
Website

Re: text highlighting in Irb and Python

Woah! cheers ....  8)


Mr Green

Offline

#6 2007-01-03 16:36:41

Basu
Member
From: Cornell University
Registered: 2006-12-15
Posts: 296
Website

Re: text highlighting in Irb and Python

Yep that's Ipython alright, but I personally prefer using IDLE for quick checking rather the plain command-line interactive prompt.


The Bytebaker -- Computer science is not a science and it's not about computers
Check out my open source software at Github

Offline

#7 2007-01-03 16:44:42

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,914
Website

Re: text highlighting in Irb and Python

For irb use can use Wirble  wink


Mr Green

Offline

#8 2007-01-04 00:52:23

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: text highlighting in Irb and Python

ipython

I just juiced my  pants. Thanks for the tip.

Offline

#9 2007-01-04 03:16:42

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: text highlighting in Irb and Python

T-Dawg wrote:

ipython

I just juiced my  pants. Thanks for the tip.

Yeah, ipython is awesome... tab completed python functions? do want!

Offline

Board footer

Powered by FluxBB