Re: 'Hidden Features of Python'

2008-10-17 Thread Aaron "Castironpi" Brady
On Oct 17, 11:00 am, coldpizza <[EMAIL PROTECTED]> wrote: > Having read through the link below I finally managed to grasp some > concepts that I only read about in the docs but never got to really > understand. Maybe it will be helpful for people like myself who are > not yet fully comfortable with

Re: 'Hidden Features of Python'

2008-10-17 Thread Lawrence D'Oliveiro
In message <[EMAIL PROTECTED]>, Kurt Smith wrote: > For more fun with the Zen, see this thread: > > http://mail.python.org/pipermail/python-bugs-list/2008-July/055857.html For someone complaining about improperly-spaced punctuation, they can't spell "orthographical". :) -- Lawrence "Skitt's La

Re: 'Hidden Features of Python'

2008-10-17 Thread Kurt Smith
On Fri, Oct 17, 2008 at 11:48 AM, Joe Strout <[EMAIL PROTECTED]> wrote: > On Oct 17, 2008, at 10:35 AM, coldpizza wrote: > >> If you are using and IDE, such as Eclipse, PyScripter, etc, then CTR >> +click on 'this' should do the trick. >> In ipython you can do 'import this' and then type 'this??' O

Re: 'Hidden Features of Python'

2008-10-17 Thread Joe Strout
On Oct 17, 2008, at 10:35 AM, coldpizza wrote: If you are using and IDE, such as Eclipse, PyScripter, etc, then CTR +click on 'this' should do the trick. In ipython you can do 'import this' and then type 'this??' Or if you are *not* lazy, you could try locating the file in the Python tree. Oh!

Re: 'Hidden Features of Python'

2008-10-17 Thread coldpizza
If you are using and IDE, such as Eclipse, PyScripter, etc, then CTR +click on 'this' should do the trick. In ipython you can do 'import this' and then type 'this??' Or if you are *not* lazy, you could try locating the file in the Python tree. > import this > # btw look at this module's source :)

Re: 'Hidden Features of Python'

2008-10-17 Thread Joe Strout
On Oct 17, 2008, at 10:00 AM, coldpizza wrote: http://stackoverflow.com/questions/101268/hidden-features-of-python Thanks, there are a lot of useful nuggets there. However, can anybody explain the "Main messages" one? It doesn't include any explanatory text at all, just a code snippet: