How to view source codes of libraries in a programming language (like python)? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to view source codes of libraries in a programming language (like python)?

16th Apr 2018, 12:06 PM
P_040 Q8
P_040 Q8 - avatar
3 Answers
+ 3
P_040 Q8 I just checked for the socket module, there is an area at the top that says "Source code: Lib/socket.py" where the Lib/socket.py is the link.
16th Apr 2018, 12:15 PM
LunarCoffee
LunarCoffee - avatar
+ 3
I believe the official documentation has links to the source code of the libraries near the top of the page.
16th Apr 2018, 12:11 PM
LunarCoffee
LunarCoffee - avatar
+ 1
really? good I'm going to check it out.
16th Apr 2018, 12:14 PM
P_040 Q8
P_040 Q8 - avatar