How to read source code of python?
Thomas Jollans
thomas at jollans.com
Thu Jun 10 03:55:02 EDT 2010
On 06/10/2010 07:25 AM, Qijing Li wrote:
> Thanks for your reply.
> I'm trying to understand python language deeply and use it efficiently.
> For example: How the operator "in" works on list? the running time is
> be O(n)? if my list is sorted, what the running time would be?
There is excellent documentation of the language and standard library at
http://docs.python.org/ .
Otherwise, just download the Python source code! You know it's free. I
think it's pretty well organised, though I haven't worked with it a lot
yet myself. Just poke around!
Have fun,
Thomas
>
>
>
> On Wed, Jun 9, 2010 at 5:59 PM, geremy condra <debatem1 at gmail.com
> <mailto:debatem1 at gmail.com>> wrote:
>
> On Wed, Jun 9, 2010 at 5:28 PM, Leon <qjing.li
> <http://qjing.li>@gmail.com <http://gmail.com>> wrote:
> > Hi, there,
> > I'm trying to read the source code of python.
> > I read around, and am kind of lost, so where to start?
> >
> > Any comments are welcomed, thanks in advance.
>
> Are you trying to find out more about python-the-language,
> or the interpreter, or the stdlib, or trying to make some
> specific change, or...?
>
> Geremy Condra
>
>
More information about the Python-list
mailing list