top | item 1140764

DreamPie: The Python shell you've always dreamed about

110 points| niyazpk | 16 years ago |dreampie.sourceforge.net | reply

40 comments

order
[+] pingswept|16 years ago|reply
"Interrupt the process or kill it - the history is preserved!"

That's enough to make me try this.

[+] f_sav|16 years ago|reply
He had me at "code/history" division. I really don't like the way I must usually enter functions in the basic interpreter (line by line, can't go back... unless I missed something?).

To me that's an interesting cross between an IDE (with completions, snippets etc.) and an interpreter.

[+] berryg|16 years ago|reply
Is there a download for OS X somewhere?
[+] bshep|16 years ago|reply
I got it working, you need macports installed:

  1) sudo port install py26-pygtksourceview
  2) python2.6 dreampie
Step 1 takes a LONG time ( about 2-3hrs on my MBP )
[+] Estragon|16 years ago|reply
I'm not seeing much of a win here over emacs's py-shell.
[+] alrex021|16 years ago|reply
This one doesn't come with an Emacs 10 year learning curve prerequisite. ;-)
[+] artagnon|16 years ago|reply
Yeah, ipython.el improves upon python-mode. I'd really like to see if it can be enhanced further using DreamPie.
[+] samdk|16 years ago|reply
Is there anything like this that integrates well with Vim? Or should I get hacking?
[+] ErrantX|16 years ago|reply
Just run the installer and you should be fine.

This is the advice under the Windows install section. Unfortunately it's a no go due to a pyGTK dependency - it just errors out completely.

(note this is only a 30s try - I will come back and figure out the dependency, but pyGTK under windows isnt a quick fix apparently..... not got the time now)

[+] noamraph|16 years ago|reply
I will thank you a lot if you investigate the problem. The Windows installer comes with PyGTK, so it is supposed to be stand alone. Can you file a bug and help me fix it?

Thanks, Noam

[+] alaithea|16 years ago|reply
It looks really cool; if only I could get it working.

Anybody else having trouble with the Ubuntu PPA? I can sudo add-apt-repository ppa:dreampie-devel/ppa just fine, but when I do apt-get update, the dreampie stuff comes up 404.

[+] mark_l_watson|16 years ago|reply
I had to install it from source on Ubuntu 9.10

after:

sudo apt-get install python2.5-gtksourceview2

sudo apt-get install python2.6-gtksourceview2

[+] noamraph|16 years ago|reply
Does it still happen? Because for me it works fine. (The add-apt-repository command added a strange 'n' line which I removed, but then it worked. No 404.)
[+] diN0bot|16 years ago|reply
it's the multi-line history that is so XXXing annoying. i use the interpreter quite a bit....unless i need to write multiline for loops.
[+] llimllib|16 years ago|reply
is there some reason ipython doesn't work for you for this purpose?
[+] mark_l_watson|16 years ago|reply
That is really neat - I just installed it. I don't usually use Python (strongly preferring Ruby) but I want to experiment with Python + AppEngine (I am tired of the hassles with JRuby + AppEngine, and using Java + AppEngine is too easy :-)

I installed PyCharm a few hours ago and Dreampie will be good for light weight experiments.

[+] phren0logy|16 years ago|reply
While I also prefer ruby, iPython and some of these other shells are dramatically better than irb, even with some of the nice irb add-ons.

Here's to hoping ruby will catch up.

[+] asmosoinio|16 years ago|reply
Thanks! A great tool, and a great website promoting it: clean, immediate screenshots showing the pros. And most importantly a quick one click installer to start playing with it.

What made we wonder for a while (not reading any helps, of course) is how to enter multi-line code if you want to start with a single statement, but that cleared out after a few tries (enter a black line first).

[+] farnsworth|16 years ago|reply
This literally does look like the shell I've always dreamed about. Experimenting with functions or loops is usually such a pain.
[+] phaedrus|16 years ago|reply
This is EXACTLY like what I wanted to create for the Io language; I wonder how hard it would be to make this work with the Io interpreter instead of Python...
[+] bitwize|16 years ago|reply
Sweet!

I'm working on something like this for Scheme... but it's in Python: an OLPC activity for Lisp development.

[+] j_baker|16 years ago|reply
How long until there's a yapython?
[+] rockstar9|16 years ago|reply
Not to be off-topic, but is it just me, or is the name a little, well, funny?