'Hidden Features of Python'

coldpizza vriolk at gmail.com
Fri Oct 17 12:35:24 EDT 2008


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 :)
>
> I don't see what I'm supposed to get from that.  If I'm supposed to  
> see the magic (and explanation) be examining the source for the 'this'  
> module, well, I don't see how I can do that either.  Can someone who  
> gets this share a clue?
>
> Thanks,
> - Joe




More information about the Python-list mailing list