How to check what are the codes of modules in python library? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to check what are the codes of modules in python library?

So I’d like to know how the module was written. For example, what are the codes for sum(), etc. Where can I find such information? Thank you!!!

10th Jun 2019, 11:00 PM
Yang Yang
Yang Yang - avatar
4 Answers
+ 1
somewhere where you installed python on you computer there should be a modules file where are the modules are in, it should be possible to check to code of those files
10th Jun 2019, 11:05 PM
Cat Sauce
Cat Sauce - avatar
+ 1
~ swim ~ Thank you! What language is the course here (Python3 Tutorial) teaching?
11th Jun 2019, 4:52 AM
Yang Yang
Yang Yang - avatar
+ 1
~ swim ~ Many thanks!!!
11th Jun 2019, 5:25 AM
Yang Yang
Yang Yang - avatar
0
~ swim ~ I see! Yeah, I’m studying it and trying to find more exercises for me to practice. I was thinking that it might be a good way to start with figuring out some simple things that they wrote for, e.g. math module... My purpose is to get more level proper problema to solve. Do you have any suggestion? Thank you!
11th Jun 2019, 5:10 AM
Yang Yang
Yang Yang - avatar