0

How to view source code function in python

Hi! I want to learn example format(),len() etc. functions source code.

12th Jul 2022, 12:33 AM
The Silencio
The Silencio - avatar
1 Answer
+ 1
Python is a language specification. Only implementations have source code. CPython is the most common one which is written mostly in C language. But there are also others, like PyPy is written in Python. You can browse the source code on GitHub. https://github.com/python/cpython
12th Jul 2022, 7:51 AM
Tibor Santa
Tibor Santa - avatar