List of Python’s functions, methods, objects, etc. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

List of Python’s functions, methods, objects, etc.

Hi y‘all! So I’ve been doing the Python course here and I’m starting to feel like I really want to do some coding! The thing is: there’s been so many information packed into this course that I can’t really remember many of the possibilities I have. With some others, I can remember basics but nothing deeper. Now I was wondering if there is some sort of list or chart or anything that states the, for starters, basic functions or objects one can use in Python. And if there isn’t, maybe someone can explain how one goes about finding just the right function for what one wants to do? I appreciate all help, thanks guys!

5th Oct 2018, 11:10 AM
Rick James
Rick James - avatar
4 Answers
+ 2
Yes, experience. I'd say start with this smaller list: https://docs.python.org/3/library/functions.html They are designated as built-in functions for a reason. Many of them should be familiar to you. But read about them anyway. There are often some optional arguments/other subtleties that can make life easier (or produce unexpected results). And just reading them is usually not enough for me: unless I implement them, I forget all about them. 😂 I often find out about new functions/features by reading other's codes (Sololearn is awesome for that). And sometimes, I feel like "There must be a function for this!" and start searching through the docs of specific modules. With some practice, you can guess which modules to browse for which kinds of functions. Like, obviously, to get the sine of an angle, I'd search in the docs of math module. Similarly itertools, functools, time, re etc are all built around a specific theme.
5th Oct 2018, 12:52 PM
Kishalaya Saha
Kishalaya Saha - avatar
+ 2
https://docs.python.org/3/library/index.html
5th Oct 2018, 11:17 AM
KrOW
KrOW - avatar
+ 1
Alright, so theres the list, thanks for that! But how does one navigate through it and find the function best fitted for their needs? Experience?
5th Oct 2018, 12:37 PM
Rick James
Rick James - avatar
+ 1
... futhermore remember that exists always google 😉
5th Oct 2018, 12:56 PM
KrOW
KrOW - avatar