Re:DreamPie: The Python shell you've always dreamed about
by f_sav on Sunday February 21, 2010 @01:21PM
(#1140962)
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.
Re:DreamPie: The Python shell you've always dreamed about
by algorias on Sunday February 21, 2010 @02:50PM
(#1141126)
Yeah, that's great to have. If only there was a way to run the code without it being erased, so you can seamlessly work on a single piece and test it repeatedly.
Re:DreamPie: The Python shell you've always dreamed about
by gnaritas on Sunday February 21, 2010 @03:16PM
(#1141167)
There is, in Smalltalk, we call it a workspace. This shell is basically a crippled workspace tied to a transcript. Getting closer and closer to Smalltalk.
It lets you open a vim session from ipython, and send lines, selections, or the whole file back to the shell. If you'd like to do some hacking, it doesn't seem to be able to send single function definitions yet.
Re:DreamPie: The Python shell you've always dreamed about
by ErrantX on Sunday February 21, 2010 @01:34PM
(#1140992)
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)
Re:DreamPie: The Python shell you've always dreamed about
by noamraph on Sunday February 21, 2010 @04:36PM
(#1141283)
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?
Re:DreamPie: The Python shell you've always dreamed about
by ErrantX on Sunday February 21, 2010 @06:01PM
(#1141404)
I've had a think (and reread the install instructions which did suggest that in retrospect) I have a feeling I installed pyGTK (or at least tried too) in the past.
Im pretty sure I installed it from source (or whatever the main way for Windows is).
I'll have a look. If it's a bug not caused by my mistake (probably is) I'll let you know.
Re:DreamPie: The Python shell you've always dreamed about
by alaithea on Sunday February 21, 2010 @01:44PM
(#1141004)
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.
Re:DreamPie: The Python shell you've always dreamed about
by noamraph on Sunday February 21, 2010 @05:00PM
(#1141318)
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.)
Re:DreamPie: The Python shell you've always dreamed about
by mark_l_watson on Sunday February 21, 2010 @01:55PM
(#1141027)
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.
Re:DreamPie: The Python shell you've always dreamed about
by wedesoft on Sunday February 21, 2010 @03:55PM
(#1141219)
Apart from 'irb/completion' I use 'wirble' [1] for colour highlighting of the output in Ruby/IRB [1]. I had to modify it to get it to work with Ruby 1.9 though [2]. I don't think anybody has done syntax highlighting for input.
Re:DreamPie: The Python shell you've always dreamed about
by asmosoinio on Monday February 22, 2010 @04:06AM
(#1142302)
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).
Re:DreamPie: The Python shell you've always dreamed about
by phaedrus on Monday February 22, 2010 @12:47AM
(#1142037)
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...
Re:DreamPie: The Python shell you've always dreamed about
by bitwize on Tuesday February 23, 2010 @10:17AM
(#1145516)
I call it Silas -- Superior Interactive Lisp Activity for Sugar. It basically spawns a Lisp and talks to it via pipes or (eventually) SWANK. The focus is on Scheme but if you wanted to use, say, SBCL that's certainly possible. You will be able develop code in the top window and talk to Lisp in the bottom window. You will be able to command Lisp to evaluate the current sexpr, the current selection, or the entire buffer contents of the top window; and save your code in a module, and it will keep track of all the modules you've written and let you import them into Scheme in your code or in interaction.
This is really just a first step: what I'd like to write is a "Lisp machine" activity, where everything from handling the display to file I/O and interacting with the rest of Sugar is done from within the running Lisp.
That's enough to make me try this.
To me that's an interesting cross between an IDE (with completions, snippets etc.) and an interpreter.
http://m5.posterous.com/slime-like-communication-from-vim-to...
It lets you open a vim session from ipython, and send lines, selections, or the whole file back to the shell. If you'd like to do some hacking, it doesn't seem to be able to send single function definitions yet.
From the site: Conque is a Vim plugin allowing users to execute and interact with programs, typically a shell such as bash, inside a buffer window.
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)
Thanks, Noam
Im pretty sure I installed it from source (or whatever the main way for Windows is).
I'll have a look. If it's a bug not caused by my mistake (probably is) I'll let you know.
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.
after:
sudo apt-get install python2.5-gtksourceview2
sudo apt-get install python2.6-gtksourceview2
I installed PyCharm a few hours ago and Dreampie will be good for light weight experiments.
Here's to hoping ruby will catch up.
[1] http://pablotron.org/?cid=28
[2] http://www.wedesoft.demon.co.uk/downloads/wirble.rb
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).
I'm working on something like this for Scheme... but it's in Python: an OLPC activity for Lisp development.
This is really just a first step: what I'd like to write is a "Lisp machine" activity, where everything from handling the display to file I/O and interacting with the rest of Sugar is done from within the running Lisp.