Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DreamPie - The Python shell you've always dreamed about!

23 views
Skip to first unread message

Noam Yorav-Raphael

unread,
Feb 21, 2010, 4:42:56 AM2/21/10
to
I'm pleased to announce DreamPie 1.0 - a new graphical interactive
Python shell!

Some highlights:

* Has whatever you would expect from a graphical Python shell -
attribute completion, tooltips which show how to call functions,
highlighting of matching parentheses, etc.
* Fixes a lot of IDLE nuisances - in DreamPie interrupt always works,
history recall and completion works as expected, etc.
* Results are saved in the Result History.
* Long output is automatically folded so you can focus on what's
important.
* Jython and IronPython support makes DreamPie a great tool for
exploring Java and .NET classes.
* You can copy any amount of code and immediately execute it, and you
can also copy code you typed interactively into a new file, with the
Copy Code Only command. No tabs are used!
* Free software licensed under GPL version 3.

Check it out at http://dreampie.sourceforge.net/ and tell me what you
think!

Have fun,
Noam

Aage Andersen

unread,
Feb 21, 2010, 7:51:36 AM2/21/10
to
I tried to edit the awfully colors, here are the results:

Traceback (most recent call last):
File "dreampie.py", line 4, <module>()
File "dreampielib\gui\__init__.pyc", line 972, main()
File "dreampielib\gui\__init__.pyc", line 153,
__init__(self=DreamPie(path..."window_main"),
pyexec='C:\\Python26\\python.exe')
File "dreampielib\gui\__init__.pyc", line 829,
configure(self=DreamPie(path..."window_main"))
File "dreampielib\gui\tags.pyc", line 224,
apply_theme_text(textview=<gtk.Tex...xd82038)>,
textbuffer=<gtk.Tex...xd816d0)>, theme={('bracket-match', 'bg', 'color'):
'darkblue', ('bracket-match', 'bg', 'isset'): True, ('bracket-match', 'fg',
'color'): 'white', ('bracket-match', 'fg', 'isset'): False, ...})
ValueError: unable to parse colour specification

Now the program don't run.

Aage


Aage Andersen

unread,
Feb 21, 2010, 8:06:54 AM2/21/10
to
I reinstalled and got this message:

Traceback (most recent call last):
File "dreampie.py", line 4, <module>()
File "dreampielib\gui\__init__.pyc", line 972, main()
File "dreampielib\gui\__init__.pyc", line 153,
__init__(self=DreamPie(path..."window_main"),
pyexec='C:\\Python26\\python.exe')
File "dreampielib\gui\__init__.pyc", line 829,
configure(self=DreamPie(path..."window_main"))
File "dreampielib\gui\tags.pyc", line 224,
apply_theme_text(textview=<gtk.Tex...xd82038)>,
textbuffer=<gtk.Tex...xd816d0)>, theme={('bracket-match', 'bg', 'color'):
'darkblue', ('bracket-match', 'bg', 'isset'): True, ('bracket-match', 'fg',
'color'): 'white', ('bracket-match', 'fg', 'isset'): False, ...})
ValueError: unable to parse colour specification

Aage


Noam Yorav-Raphael

unread,
Feb 21, 2010, 8:18:23 AM2/21/10
to
Delete \Documents and Settings\<username>\DreamPie and it should now
work.
Did you edit the colors using the configuration window or manually?
If you edited them using the configuration window, can you give
instructions on how to reproduce the bug?

Noam

Mensanator

unread,
Feb 21, 2010, 11:30:27 AM2/21/10
to
On Feb 21, 3:42�am, Noam Yorav-Raphael <noamr...@gmail.com> wrote:
> I'm pleased to announce DreamPie 1.0 - a new graphical interactive
> Python shell!
>
What versions of Python does it suuport?

Mensanator

unread,
Feb 21, 2010, 11:32:35 AM2/21/10
to

What OS are supported?

Paul Boddie

unread,
Feb 21, 2010, 1:14:21 PM2/21/10
to

From the Web site referenced in the announcement (http://
dreampie.sourceforge.net/):

"""
# Supports Python 2.5, Python 2.6, Jython 2.5, IronPython 2.6 and
Python 3.1.
# Works on Windows and Linux.
"""

Paul

Mensanator

unread,
Feb 21, 2010, 4:40:54 PM2/21/10
to

Yeah, I saw that. Funny that something important like that wasn't part
of the
announcement. I notice no mention of Mac OS, so visiting the website
was a complete
waste of time on my part, wasn't it?

> Paul

sste...@gmail.com

unread,
Feb 21, 2010, 5:01:25 PM2/21/10
to Mensanator, pytho...@python.org

See my earlier message -- I have it running just fine on 10.6 with MacPorts and even managed to report a bug!

S


>
>> Paul
>
> --
> http://mail.python.org/mailman/listinfo/python-list

Steven D'Aprano

unread,
Feb 21, 2010, 6:23:54 PM2/21/10
to
On Sun, 21 Feb 2010 13:40:54 -0800, Mensanator wrote:

> Yeah, I saw that. Funny that something important like that wasn't part
> of the
> announcement. I notice no mention of Mac OS, so visiting the website was
> a complete
> waste of time on my part, wasn't it?

Of course not. Now you know that Mac OS isn't officially supported, so
you're less ignorant than you were before you went to the website.

But since Dreampie is written in Python, it shouldn't be that hard to
have it run on Mac OS, provided you can get the GUI tool kit it requires.

--
Steven

Message has been deleted

Philip Semanchuk

unread,
Feb 21, 2010, 9:08:08 PM2/21/10
to Python (General)

On Feb 21, 2010, at 8:39 PM, rantingrick wrote:

>
>
> Mensanator snipped: """Yeah, I saw that. Funny that something


> important like that wasn't part of the announcement. I notice no
> mention of Mac OS, so visiting the website was a complete waste of
> time on my part, wasn't it?"""
>

> Oh Mensanator, why you always so grumpy? I visited your site a few
> years ago and i found it to be a complete waste of my time but you
> don't hear me whining about it do you? Besides mac is always the last
> to get releases (if any) everybody knows that.


Erm...not if the developer uses a Mac. =)


Mensanator

unread,
Feb 21, 2010, 10:44:29 PM2/21/10
to
On Feb 21, 7:39 pm, rantingrick <rantingr...@gmail.com> wrote:
> Mensanator snipped: """Yeah, I saw that. Funny that something

> important like that wasn't part of the announcement. I notice no
> mention of Mac OS, so visiting the website was a complete waste of
> time on my part, wasn't it?"""
>
> Oh Mensanator, why you always so grumpy?

Part of the job requirements of a gadfly.

> I visited your site a few
> years ago and i found it to be a complete waste of my time but you
> don't hear me whining about it do you?

Did I ever claim it wasn't?

> Besides mac is always the last
> to get releases (if any) everybody knows that.

I'm not complaining about the lack of Mac support, just that
it wasn't mentioned in the announcement.

> If you drive a porsche
> you can't get all upset every time you find yourself on road with pot-
> holes, your just not *that* important because you drive a porsche!

"You're" not getting the point.

> Please (in the future) leave the ranting to me, i'm better at it ;).
>
> Thanks for the release Noam, i look forward to "test driving" it.
> hehe  ;)

gorauskas

unread,
Feb 23, 2010, 1:06:45 AM2/23/10
to
I installed it on a Windows 7 machine with CPython 2.6.4 and I get the
following error:

Traceback (most recent call last):

File "dreampie.py", line 3, in <module>
File "dreampielib\gui\__init__.pyc", line 73, in <module>
File "dreampielib\gui\load_pygtk.pyc", line 49, in load_pygtk
ImportError: DLL load failed: The specified module could not be found.

What am I doing wrong?

Thanks, JGG

Processor-Dev1l

unread,
Feb 23, 2010, 4:24:46 AM2/23/10
to
On Feb 21, 10:42 am, Noam Yorav-Raphael <noamr...@gmail.com> wrote:
> I'm pleased to announce DreamPie 1.0 - a new graphical interactive
> Python shell!
>
> Some highlights:
>
> * Has whatever you would expect from a graphical Python shell -
> attribute completion, tooltips which show how to call functions,
> highlighting of matching parentheses, etc.
> * Fixes a lot of IDLE nuisances - in DreamPie interrupt always works,
> history recall and completion works as expected, etc.
> * Results are saved in the Result History.
Very good work, Noam,
I am looking forward to test this with IronPython :)

> * Long output is automatically folded so you can focus on what's
> important.
> * Jython and IronPython support makes DreamPie a great tool for
> exploring Java and .NET classes.
> * You can copy any amount of code and immediately execute it, and you
> can also copy code you typed interactively into a new file, with the
> Copy Code Only command. No tabs are used!
> * Free software licensed under GPL version 3.
>

> Check it out athttp://dreampie.sourceforge.net/and tell me what you
> think!
>
> Have fun,
> Noam

Alan Harris-Reid

unread,
Feb 23, 2010, 6:56:21 AM2/23/10
to pytho...@python.org
And I installed it on WinXP sp3 and Python 3.1 - when launched a window
flashes before my eyes, then disappears! Has the installation package
been checked for all common Windows versions?

Regards,
Alan

Noam Yorav-Raphael

unread,
Feb 23, 2010, 7:11:07 AM2/23/10
to Chris Colbert, pytho...@python.org
‎Thanks! I'm happy you like it!
Thanks for the feedback too. Here are my replies.

On Sun, Feb 21, 2010 at 7:13 PM, Chris Colbert <scco...@gmail.com> wrote:
> This is bloody fantastic! I must say, this fixes everything I hate about
> Ipython and gives me the feature I wished it had (with a few minor
> exceptions).
> I confirm this working on Kubuntu 9.10 using the ppa listed on the sites
> download page.
Great. It's important to know.

> I also confirm that it works interactively with PyQt4 and PyGtk (as to be
> expected since these toolkits use the PyOS_inputhook for the mainloop).
> However, it does not work interactively with wx (again, this is as expected
> since wx doesn't use the PyOS_inputhook). In short, the gui toolkit support
> is the same as in Ipython if you dont use any of the magic threading
> switches, which are now deprecated anyway.
Actually, currently DreamPie doesn't use PyOS_inputhook, but
implements the GUI hooks by itself. So it should be possible to
implement wx support if there's a way to handle events for a few
milliseconds. I tried it a bit and didn't find how to do it - if you
are interested in wx support and think you can help, please do.

> Matplotlib does not work interactively for me. Is there a special switch
> that needs to be used? or should a pick a non-wx backend? (i'm thinking the
> latter is more likely)
You should set "interactive:True" in your matplotlibrc file. The next
DreamPie version will warn about this.

> A couple of things I would like to see (and will help implement if I can
> find the time):
> 1) A shortcut to show the docstring of an object. Something like Ipython's
> `?`. i.e.  `object.foo?` translates to `help(object.foo)`
I wrote this at http://wiki.python.org/moin/DreamPieFeatureRequests .
I hope I will manage to implement this soon.

> 2) How do I change the color of the blinking cursor at the bottom? I can't
> see the damn thing!
It should be in the color of the default text. If this is not the
case, please file a bug!

> 3) line numbers instead of the `>>>` prompt
I know IPython does this, but I thought you needed it only if placing
the cursor on top of the command doesn't do anything. Can you tell me
why do you need this in the context of a graphical user interface?

> 4) a plugin facility where we can define our own `magic` commands. I use
> Ipython's %timeit ALL the time.
Added it to the feature request page.

> 5) Double-click to re-fold the output section as well.
I don't think that's a good idea, because usually double-click selects
the word, and I don't want to change that behavior for regular text.
You can use ctrl-minus to fold the last output section!

> Thanks for making this!!!!
Thanks for the feedback!

Noam

Olof Bjarnason

unread,
Feb 23, 2010, 8:25:07 AM2/23/10
to pytho...@python.org
2010/2/23 Noam Yorav-Raphael <noam...@gmail.com>:

I installed latest .exe from LP on my Win7/32-bit machine, nothing
happens when I start DreamPie. Is there a bug report file somewhere I
could send you Noam?

(Python2.6.4 installed on my machine)

>
> Noam
> --
> http://mail.python.org/mailman/listinfo/python-list
>

--
http://olofb.wordpress.com

alex23

unread,
Feb 27, 2010, 12:31:47 AM2/27/10
to
Mensanator <mensana...@aol.com> wrote:
> "You're" not getting the point.

If every link has to be accompanied by a summary of all of the
information at the end of it, what point is there to linking?

(Programmers are the _only_ people I know of who complain about the
arduousness of tasks like typing quotes or clicking on links...)

Steven D'Aprano

unread,
Feb 27, 2010, 6:45:26 AM2/27/10
to

Once you've clicked on a link to Tubgirl or Goatsie Man once, you will
never, ever, ever click on an untrusted link again.

*wink*

But seriously... I dislike being sent links without any explanation of
what is in them, because in my experience, 9 times out of 10 if I had
been told, I wouldn't have bothered to clink on the link.

--
Steven

Noam Yorav-Raphael

unread,
Mar 1, 2010, 12:07:15 PM3/1/10
to
This is most probably a bug discovered in DreamPie 1.0 (See
https://bugs.launchpad.net/dreampie/+bug/525652 )

Can you try to download DreamPie 1.0.1, and if it still happens,
report a bug?

Thanks!
Noam

Noam Yorav-Raphael

unread,
Mar 1, 2010, 12:08:28 PM3/1/10
to
Can you try DreamPie 1.0.1 and say if it still happens?

There's a bug report system at launchpad.net/dreampie.

Thanks,
Noam

kuru

unread,
Mar 21, 2010, 11:45:51 PM3/21/10
to
Thanks for the shell. It is nice alternative , however I am not ready
to give up Ipython :)

If the code ends with a comment line your shell is giving an error.

Feature request: It would be nice to have numbered lines in the code
section, it makes it hard to find problem line
Feature request: Loading an actual Python file rather than copy
pasting

keep up the good work

Luis M. González

unread,
Mar 22, 2010, 1:59:07 PM3/22/10
to

Geez... someone spends many hours (or days or even months) writing a
program to be offered for free to the world, and you get annoyed by
losing two seconds while checking it out?

Steve Holden

unread,
Mar 22, 2010, 7:17:00 PM3/22/10
to pytho...@python.org

And if it's open source there's always the possibility of doing a Mac
port and contributing the code back.

regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
See PyCon Talks from Atlanta 2010 http://pycon.blip.tv/
Holden Web LLC http://www.holdenweb.com/
UPCOMING EVENTS: http://holdenweb.eventbrite.com/

0 new messages