1

For example I have a code:

f = open('ifyouwantme', 'r')
while True:
 line = f.readline()
 if not line: break

And I want to see the code which is behind open and readline functions. How can I see it?

bgporter
36.9k8 gold badges65 silver badges67 bronze badges
asked Jun 24, 2013 at 21:04

1 Answer 1

3

You can download full source for Python from http://www.python.org/download/releases/ and see any implementation details you like.

answered Jun 24, 2013 at 21:08
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.