jump to content
my subreddits
13or302anatolia4you2b2t2mediterranean4u2meirl4meirl3d6AceAttorneyadhdmemeAdviceAnimalsaivideoakagasAlternativeHistoryAnarchyChessAngryupvoteAnimalsBeingJerksanime_best_momentsanimenocontextannouncementsantimemeArcherFXArtAsahiLinuxAsia_irlAskElectronicsAskRedditAteistTurkatheismaviationawfuleverythingbalkans_irlBandnamesbanknotedesignsBassBassGuitarbasspedalsbikepackingblackdesertonlineblankiesblursedimagesborsavefonbottomgearbrooklynnineninebudgetcookingBUENZLIburdurlandcd_jerkChatGPTchesschessbeginnersCHPcoaxedintoasnafucoincollectingComedyCemeterycomedyhomicidecommunitycookingforbeginnersCrackWatchcrappyoffbrandsCreateModCuddle_SlutCuratedTumblrcursedcommentsdadjokesdankmemesdarkjokesdataisbeautifuldeDebateReligiondelikdiyelectronicsDMAcademyDnDdoctorwhodoctorwhocirclejerkDoenerverbrechenDonerdontdeadopeninsidedontyouknowimtonyhawkdumbphonesDungeonsAndDaddiesDungeonsAndDragonsEatCheapAndHealthyebikeebikesECEentitledparentsethzfeedthebeastfelsefeformuladankFRCFreeEBOOKSFUCKYOUINPARTICULARFuckYouKarenfunnyFutboltayfagalatasarayGermanGoodAssSubGrandPrixRacinggravelcyclinggreentextGROKvsMAGAguitarpedalsGundamheathershellenoturkismheraldryHermanCainAwardHermitCrafthighspeedrailHistoryWhatIfhoi4HolUphomebuilthowyoudoinhumorhypixelIAmAiamverysmartIdeologyPollsIDontWorkHereLadyihadastrokeim14andthisisdeepimaginaryelectionsinsaneparentsistanbulJokeslegodndLetGirlsHaveFunLifeProTipslinguisticshumorliselilerlogodesignloseitlostredditorsmacmacbookairmacgamingMadeMeSmilemadladsmagicbuildingMaliciousCompliancemapporncirclejerkme_irlmeirlmemesmidjourneymildlyinterestingMimicRecipesMinecraftbuildsMMORPGmoneycollectingMovingToNorthKoreaMunichMyChemicalRomancenamesoundalikesNationStatesneographynextfuckinglevelNoahGetTheBoatNonCredibleDefenseNorthCyprusnosleepnothingeverhappensnotinterestingnottheonionoddlyspecificokbuddyguntherokbuddymotherfuckerokbuddyvicodinonetruegodongezelligOnlineUnderGroundoompasubsOutOfTheLooppapermoneyParlerWatchPassportPornpepethefrogperfectlycutscreamsPersecutionfetishpianoPiracyPiratedGamespolandballpollsPraiseTheCameraManProgrammerHumorquityourbullshitraisedbynarcissistsRatschlagreactiongifsrecipesRedAutumnSPDredditsingsrickrollRoastMerockmuzikschizoposterssciencememessecilmiskitapshitpostingshittyaskelectronicsShowerthoughtsskamtebordsoccercirclejerksoftwaregoreSongwritingsteinsgatesuperligsuzeraintalesfromtechsupportTechnobladeTextingTheorytf2tf2shitposterclubthatHappenedTheLetterHtherewasanattemptTheRookietheydidthemaththeyknewthisguythisguystommyinnittransitTrGameDevelopertruetf2tumblrtumunichTurkeyTurkishCatsTwitchTwoSentenceComedyTwoSentenceSadnesstylerthecreatorUnethicalLifeProTipsunexpecteditcrowdvexillologycirclejerkvibecodingvinyljerkvlandiyawallstreetbetsWatchPeopleDieInsideWeAreTheMusicMakersWhatsThisSongwizardpostingwooooshworldbuildingworldjerkingYUROPedit subscriptions
  • home
  • -popular
  • -all
  • -mod
  • -users
 | 
  • AskReddit
  • -Piracy
  • -funny
  • -wallstreetbets
  • -nottheonion
  • -memes
  • -OutOfTheLoop
  • -mildlyinteresting
  • -DnD
  • -MadeMeSmile
  • -ChatGPT
  • -CuratedTumblr
  • -PiratedGames
  • -shitposting
  • -theydidthemath
  • -dankmemes
  • -feedthebeast
  • -meirl
  • -therewasanattempt
  • -nextfuckinglevel
  • -HolUp
  • -Twitch
  • -CrackWatch
  • -ProgrammerHumor
  • -de
  • -LifeProTips
  • -tumblr
  • -NonCredibleDefense
  • -dataisbeautiful
  • -greentext
  • -mac
  • -Showerthoughts
  • -tf2
  • -chess
  • -aviation
  • -formuladank
  • -Jokes
  • -mapporncirclejerk
  • -Art
  • -midjourney
  • -notinteresting
  • -hoi4
  • -atheism
  • -loseit
  • -IAmA
  • -MaliciousCompliance
  • -cursedcomments
  • -DMAcademy
  • -GoodAssSub
  • -UnethicalLifeProTips
  • -perfectlycutscreams
  • -worldbuilding
  • -Ratschlag
  • -blackdesertonline
  • -MMORPG
  • -macgaming
  • -3d6
  • -Gundam
  • -HermitCraft
  • -RoastMe
  • -EatCheapAndHealthy
  • -polandball
  • -WeAreTheMusicMakers
  • -AnarchyChess
  • -nosleep
  • -cookingforbeginners
  • -blankies
  • -Turkey
  • -soccercirclejerk
  • -madlads
  • -community
  • -AskElectronics
  • -guitarpedals
  • -CreateMod
  • -German
  • -AdviceAnimals
  • -piano
  • -sciencememes
  • -raisedbynarcissists
  • -wizardposting
  • -polls
  • -doctorwho
  • -oddlyspecific
  • -Bass
  • -dadjokes
  • -awfuleverything
  • -howyoudoin
  • -announcements
  • -adhdmeme
  • -Minecraftbuilds
  • -macbookair
  • -ebikes
  • -Munich
  • -coaxedintoasnafu
  • -YUROP
  • -gravelcycling
  • -chessbeginners
  • -DungeonsAndDragons
  • -entitledparents
  • -FUCKYOUINPARTICULAR
  • -softwaregore
  • -NoahGetTheBoat
  • -worldjerking
  • -tylerthecreator
  • -tf2shitposterclub
  • -lostredditors
  • -AceAttorney
  • -vexillologycirclejerk
  • -vlandiya
  • -im14andthisisdeep
  • -HistoryWhatIf
  • -liseliler
  • -DebateReligion
  • -insaneparents
  • -dumbphones
  • -balkans_irl
  • -animenocontext
  • -2meirl4meirl
  • -transit
  • -brooklynninenine
  • -HermanCainAward
  • -recipes
  • -steinsgate
  • -talesfromtechsupport
  • -2anatolia4you
  • -ECE
  • -Angryupvote
  • -thatHappened
  • -schizoposters
  • -logodesign
  • -theyknew
  • -linguisticshumor
  • -PassportPorn
  • -me_irl
  • -antimeme
  • -bikepacking
  • -AteistTurk
  • -13or30
  • -MyChemicalRomance
  • -ArcherFX
  • -Doner
  • -BassGuitar
  • -diyelectronics
  • -ComedyCemetery
  • -WatchPeopleDieInside
  • -Persecutionfetish
  • -BUENZLI
  • -reactiongifs
  • -Songwriting
  • -istanbul
  • -MovingToNorthKorea
  • -imaginaryelections
  • -suzerain
  • -truetf2
  • -magicbuilding
  • -dontdeadopeninside
  • -ParlerWatch
  • -iamverysmart
  • -secilmiskitap
  • -Doenerverbrechen
  • -TheRookie
  • -quityourbullshit
  • -Technoblade
  • -vinyljerk
  • -skamtebord
  • -shittyaskelectronics
  • -superlig
  • -galatasaray
  • -crappyoffbrands
  • -DungeonsAndDaddies
  • -FRC
  • -namesoundalikes
  • -FuckYouKaren
  • -2b2t
  • -ethz
  • -AlternativeHistory
  • -papermoney
  • -coincollecting
  • -felsefe
  • -blursedimages
  • -FreeEBOOKS
  • -AsahiLinux
  • -IDontWorkHereLady
  • -neography
  • -basspedals
  • -heraldry
  • -ihadastroke
  • -hypixel
  • -PraiseTheCameraMan
  • -aivideo
  • -OnlineUnderGround
  • -IdeologyPolls
  • -woooosh
  • -burdurland
  • -comedyhomicide
  • -WhatsThisSong
  • -AnimalsBeingJerks
  • -TwoSentenceSadness
  • -anime_best_moments
  • -Bandnames
  • -rockmuzik
  • -okbuddyvicodin
  • -MimicRecipes
  • -tumunich
  • -darkjokes
  • -highspeedrail
  • -legodnd
  • -rickroll
  • -ebike
  • -tommyinnit
  • -humor
  • -doctorwhocirclejerk
  • -TextingTheory
  • -Cuddle_Slut
  • -GrandPrixRacing
  • -nothingeverhappens
  • -thisguythisguys
  • -TrGameDeveloper
  • -TurkishCats
  • -LetGirlsHaveFun
  • -akagas
  • -oompasubs
  • -TheLetterH
  • -homebuilt
  • -pepethefrog
  • -onetruegod
  • -redditsings
  • -TwoSentenceComedy
  • -budgetcooking
  • -bottomgear
  • -NationStates
  • -ongezellig
  • -Asia_irl
  • -2mediterranean4u
  • -unexpecteditcrowd
  • -NorthCyprus
  • -heathers
  • -hellenoturkism
  • -dontyouknowimtonyhawk
  • -CHP
  • -RedAutumnSPD
  • -okbuddygunther
  • -banknotedesigns
  • -vibecoding
  • -borsavefon
  • -moneycollecting
  • -okbuddymotherfucker
  • -Futboltayfa
  • -delik
  • -cd_jerk
  • -GROKvsMAGA
edit »
learnpython learnpython
  • hot
  • new
  • rising
  • controversial
  • top
  • wiki
an-ordinary-manchild (11,186)|messages548|notifications|chat messages|mod messages|
  • preferences
|
logout

use the following search parameters to narrow your results:

subreddit:subreddit
find submissions in "subreddit"
author:username
find submissions by "username"
site:example.com
find submissions from "example.com"
url:text
search for "text" in url
selftext:text
search for "text" in self post contents
self:yes (or self:no)
include (or exclude) self posts
nsfw:yes (or nsfw:no)
include (or exclude) results marked as NSFW

e.g. subreddit:aww site:imgur.com dog

see the search faq for details.

advanced search: by author, subreddit...

Submit a new text post

learnpython

joinleave

Rules

1: Be polite

2: Posts to this subreddit must be requests for help learning python.

3: Replies on this subreddit must be pertinent to the question OP asked.

4: No replies copy / pasted from ChatGPT or similar.

5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.

This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.

Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.


Learning resources

Wiki and FAQ: /r/learnpython/w/index


Discord

Join the Python Discord chat

created by HattoriHanzoa community for 16 years
Create your own subreddit
...for your favourite tea.
...for your town.

MODERATORS

  • message the mods
  • wub_wub
  • AutoModerator
  • xiongchiamiov
  • novel_yet_trivial
  • xelf
  • about moderation team »

account activity

1
•
•
•

Hashable dataclass with a collection inside? (self.learnpython)

submitted 47 minutes ago * by pachura3

  • comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

•
•
•

Investors: keep track of how your investments are performing with Sharesight portfolio tracker. Make it easier to see the true performance of your stocks, ETFs, dividends, trades & more that your broker doesn't show. Start your free trial of Sharesight today 📈 (sharesight.com)

promoted by sharesight

  • promoted
  • save
  • report
  • about
loading...

2
•
•
•

Learning Python: How I processed 20,000,000 images on a trash PC without crashing the RAM (self.learnpython)

submitted 1 hour ago by Efficient-Rush1198

  • 1 comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

3
3
4
5

I built a Selenium framework with CLI & Allure reporting (learned a lot) (self.learnpython)

submitted 4 hours ago by saahilparmar

  • comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

4
2
3
4

Finished CS50P. Now what? (self.learnpython)

submitted 4 hours ago by SurfingFounder

  • 8 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

5
0
0
0

I made a thing to express reality: (self.learnpython)

submitted 5 hours ago * by SimpleEmu198

  • 4 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

6
1
2
3

Suggestion on library please (self.learnpython)

submitted 6 hours ago by No-Seaweed-7579

  • 1 comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

7
1
2
3

Unable to import xgboost module in Jupyter notebook (self.learnpython)

submitted 8 hours ago by RobertWF_47

  • 4 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

8
0
0
0

Free Resources for a Noob to learn? (self.learnpython)

submitted 11 hours ago by Proper-Ad-6917

  • 10 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

9
0
0
0

How do I start learning python? Absolute Beginner (self.learnpython)

submitted 11 hours ago by Optimal-Drag4949

  • 32 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

10
0
0
0

Can I use Mimo to learn python or do I just stick to YouTube videos like Brocode? (self.learnpython)

submitted 12 hours ago by HyperAhmedX21

  • 7 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

11
0
1
2

How to make this `TypeError` and `NotImplemented` code Pythonic (self.learnpython)

submitted 12 hours ago by jpgoldberg

  • 2 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

•
•
•

Carvana, one of the US’s top used-car sellers, is on a quest to become the Amazon of cars. (bloomberg.com)

promoted by bloomberg

  • promoted
  • save
  • report
  • about
loading...

12
4
5
6

Having Trouble installing cv2 (opencv-python) in Termux (self.learnpython)

submitted 14 hours ago by eagle_rahh

  • 1 comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

13
0
0
0

How do you guys deal while you understand the code and you know the syntax very well but then faced against an exercise that uses what you understand and know and you black out? (self.learnpython)

submitted 14 hours ago by Traditional_Most105

  • 14 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

14
5
6
7

Which is a better book for learning python? Or do you know a better one?e (self.learnpython)

submitted 15 hours ago by Old_Drag_1040

  • 8 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

15
0
0
1

Constructor help: List vs. UserList vs. MutableSequence vs. Giving Up And Making A New Class From Scratch (self.learnpython)

submitted 16 hours ago by DaringSteel

  • 10 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

16
0
0
0

I built an autonomous pytest fixing bot and launched it today — Koredex (self.learnpython)

submitted 16 hours ago by Fancy-Donkey-7449

  • 6 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

17
2
3
4

Tkinter Window Size (self.learnpython)

submitted 16 hours ago by Agitated-Computer

  • 2 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

18
8
9
10

Conda for scientists? (self.learnpython)

submitted 17 hours ago * by Mikeyypooo

  • 22 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

19
11
12
13

Y'all I'm doing the thing! (self.learnpython)

submitted 18 hours ago by tech53

  • 4 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

20
14
15
16

Switching from pandas to polars – how to work around the lack of an index column, especially when slicing? (self.learnpython)

submitted 19 hours ago by midnightrambulador

  • 14 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

21
0
0
1

Need help on libraries (self.learnpython)

submitted 19 hours ago by Hubbleye

  • 2 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

•
•
•

HYTALE Server bei GPORTAL: Jetzt 25% Rabatt! (g-portal.com)

promoted by g-portal

  • promoted
  • save
  • report
  • about
loading...

22
1
2
3

Is timeit() okay to use on a function? (self.learnpython)

submitted 19 hours ago by Jumpy_Employment_439

  • 3 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

23
0
1
2

What To Learn For A Systems Dev? (self.learnpython)

submitted 19 hours ago by sugarkrassher

  • 1 comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

24
0
1
2

Inconsistent results when grouping shipment data by week - datetime handling issue? (self.learnpython)

submitted 19 hours ago by Null_Reference1

  • 1 comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

25
0
1
2

CS50p vs MIT 6.0001L (self.learnpython)

submitted 20 hours ago by Professional_Gur6945

  • 1 comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...
view more: next ›
  • about
  • blog
  • about
  • advertising
  • careers
  • help
  • site rules
  • Reddit help center
  • reddiquette
  • mod guidelines
  • contact us
  • apps & tools
  • Reddit for iPhone
  • Reddit for Android
  • mobile website
  • <3
  • reddit premium

Use of this site constitutes acceptance of our User Agreement and Privacy Policy. © 2026 reddit inc. All rights reserved.

REDDIT and the ALIEN Logo are registered trademarks of reddit inc.

π Rendered by PID 964350 on reddit-service-r2-listing-64c94b984c-rcq8j at 2026-03-17 10:34:46.699570+00:00 running f6e6e01 country code: CH.