How to I read python interpreter program? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to I read python interpreter program?

I want to read that code for more development can anyone give answer?

30th Jun 2020, 2:36 AM
ADHIL
ADHIL - avatar
1 Answer
+ 1
It sounds like you want to read the source code for the Python interpreter. The Python command and interpreter is open source. The source files for various versions of the Python interpreter are available at: https://www.python.org/downloads/source/ The latest version as I write this answer is at: https://www.python.org/downloads/release/python-383/ I downloaded where it said "Gzipped source tarball" or from ( https://www.python.org/ftp/python/3.8.3/Python-3.8.3.tgz ). I opened the file in WinRAR and was able to find many .c and .h source files in subdirectories. I didn't try to build/compile and making your own executable from the source would require more research.
6th Jul 2020, 2:57 AM
Josh Greig
Josh Greig - avatar