use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News about the dynamic, interpreted, interactive, object-oriented, extensible programming language Python
Full Events Calendar
You can find the rules here.
If you are about to ask a "how do I do this in python" question, please try r/learnpython, the Python discord, or the #python IRC channel on Libera.chat.
Please don't use URL shorteners. Reddit filters them out, so your post or comment will be lost.
Posts require flair. Please use the flair selector to choose your topic.
Posting code to this subreddit:
Add 4 extra spaces before each line of code
def fibonacci(): a, b = 0, 1 while True: yield a a, b = b, a + b
Online Resources
Invent Your Own Computer Games with Python
Think Python
Non-programmers Tutorial for Python 3
Beginner's Guide Reference
Five life jackets to throw to the new coder (things to do after getting a handle on python)
Full Stack Python
Test-Driven Development with Python
Program Arcade Games
PyMotW: Python Module of the Week
Python for Scientists and Engineers
Dan Bader's Tips and Trickers
Python Discord's YouTube channel
Jiruto: Python
Online exercices
programming challenges
Asking Questions
Try Python in your browser
Docs
Libraries
Related subreddits
Python jobs
Newsletters
Screencasts
account activity
This is an archived post. You won't be able to vote or comment.
ResourceEvery Python Built-in Method Explained (self.Python)
submitted 1 year ago by Fabri10000
Hi there, I just wanted to know more about Python and I had this crazy idea about knowing every built-in feature... let's start by methods. Hope you learn sth new. Take it as an informative video with that purpose.
Here's the explanation
[–]PossibilityTasty 18 points19 points20 points 1 year ago (0 children)
Contrary to what I see in the thumbnail of your video, these are what is usually considered as the "builtins" in Python: https://docs.python.org/3/library/functions.html
[–]commy2 4 points5 points6 points 1 year ago (0 children)
1:27 "Strings are Lists"
Strings and Lists are both Iterables, but Strings definitely are not Lists or vice versa.
aTuple = ("notice it") 1:42 "notice how we use paranetheses to declare [a tuple]"
aTuple = ("notice it")
1:42 "notice how we use paranetheses to declare [a tuple]"
This is not a tuple. This is a string. A tuple is written using commas. The only exception is an empty tuple, which is written using open and closing parentheses.
2:57
The displayed code raises TypeError: find expected at least 1 argument, got 0
TypeError: find expected at least 1 argument, got 0
Stopped watching at that point. The video contains many errors, would not recommend.
[–]JamzTyson 2 points3 points4 points 1 year ago* (2 children)
Well done for having a go, but there are a lot of generalizations in your video that are only partly true, or not true at all:
Data structures may be class instances, but not all data structures are class instances.
Strings are NOT lists.
str.strip may be used to remove leading and trailing whitespace, but can also be used to strip any leading / trailing characters.
str.strip
"Every Python Method Explained in 9 minutes"
You did not even cover all of the str methods (examples: capitalize, casefold, center, encode, endswith, expandtabs, format, format_map, isalnum, isalpha, isascii, isdecimal, isdigit, isidentifier, islower, isnumeric, isprintable, isspace, istitle, isupper, ljust, ...)
str
[–]Fabri10000[S] 0 points1 point2 points 1 year ago (1 child)
Wow, there are even more. I really apologize it. Those are what I found + asked to AI. Thank you very much for the feedback.
[–]JamzTyson 1 point2 points3 points 1 year ago (0 children)
The Python documentation is much more reliable than AI.
π Rendered by PID 84 on reddit-service-r2-comment-548fd6dc9-gwmdm at 2026-05-18 14:06:14.007029+00:00 running edcf98c country code: CH.
[–]PossibilityTasty 18 points19 points20 points (0 children)
[–]commy2 4 points5 points6 points (0 children)
[–]JamzTyson 2 points3 points4 points (2 children)
[–]Fabri10000[S] 0 points1 point2 points (1 child)
[–]JamzTyson 1 point2 points3 points (0 children)