local na rede Internet:Tutoriais Python: Python Realcontente
PythonTutorials–RealPythonwindow.dataLayer=window.dataLayer||[];functiongt(){dataLayer.push(arguments);}gt('js',newDate());gt('config','G-L7L6L5F6Y6');gt('get','G-L7L6L5F6Y6','client_id',(clid)=>{document.cookie='gaclid='+clid+';max-e=;path=/;secure';});Start HereLearnPythonPythonTutorials →In-deptharticlesandvideocoursesLearningPaths →GuidedstudyplansforacceleratedlearningQuizzes →CheckyourlearningprogressBrowseTopics →FocusonaspecificareaorskilllevelCommunityChat →LearnwithotherPythonistasOfficeHours →LiveQ&AcallswithPythonexpertsPodcast →Hearwhat’snewintheworldofPythonBooks →RoundoutyourknowledgeandlearnofflineCodeMentor →BetaPersonalizedcodeassistance&learningtoolsUnlockAllContent →MoreLearnerStoriesPythonNewsletterPythonJobBoardMeettheTeamBecomeaTutorialWriterBecomeaVideoInstructorSearch/JoinSign8209;InRealPythonTutorialsNEWPythonDictionaryComprehensions:HowandWhentoUseThemInthistutorial,youx27;lllearnhowtowritedictionarycomprehensionsinPython.Youx27;llalsoexplorethemostcommonusecasesfordictionarycomprehensionsandlearnaboutsomebadpracticesthatyoushouldoidwhenusingtheminyourcode.Nov13,2024intermediatepython—FREEEmailSeries—🐍PythonTricks💌GetPythonTricks»🔒Nospam.Unsubscribeanytime.BrowseTopicsGuidedLearningPathsBasicsIntTutoriais Python: Python RealermediateAdvancedapibest-practicescareercommunitydatabasesdata-sciencedata-structuresdata-vizdevopsdjangodockereditorsflaskfront-endgamedevguimachine-learningnumpyprojectspythontestingtoolsweb-devweb-scrapingExploreRealPythonLearningPathsGuidedstudyplansforacceleratedlearningPythonTutorialsIn-deptharticlesandstep-by-stepvideocoursesQuizzesEvaluateyourPythonknowledgewithquicktestsBrowseTopicsFocusonaspecificareaorskilllevelCommunityChatLearnwithotherPythonistasOfficeHoursLiveQ&AcallswithexpertsfromRealPythonPodcastHearwhat’snewintheworldofPythonBooksRoundoutyourknowledgeandlearnofflineSearch »NewReleasesView All »FormattingFloatsInsidePythonF-StringsNov12,2024basicspythonPythonNewsRoundup:November2024Nov11,2024communityHowtoResetapandasDataFrameIndexNov06,2024intermediatebest-practicesdata-sciencepythonIntroductiontoWebScrapingWithPythonNov05,2024intermediateweb-scrapingVariablesinPython:UseandBestPracticesNov04,2024basicspythonThePythonSquareRootFunctionNov03,2024basicsRemoveadsPythonClosures:CommonUseCasesandExamplesOct30,2024intermediatepythonPythonx27;sMicMethodsinClassesOct29,2024advancedpythonBeautifulSoup:BuildaWebScraperWithPythonOct28,2024intermediatedata-sciencetoolsweb-scrapingPythonThreadSafety:UsingaLockandOtherTechniquesOct23,2024intermediatepythonUnderstandingPythonx27;sGlobalInterpreterLock(GIL)Oct22,2024advancedpythonPythonx27;sproperty():AddManedAttributestoYourClassesOct21,2024intermediatebest-practicespythonStructuralPatternMatchinginPythonOct16,2024intermediatepythonUsingTypeHintsforMultipleReturnTypesinPythonOct15,2024intermediateSyntacticSugar:WhyPythonIsSweetandPythonicOct14,2024intermediatebest-practicespythonBuildaContactBookAppWithPython,Textual,andSQLiteOct09,2024intermediateprojectsWhatx27;sNewinPython3.13Oct08,2024intermediatepythonPythonNewsRoundup:October2024Oct07,2024communityLoadMoreSearch »Removeads©2012–2024Real Python ⋅Newsletter ⋅Podcast ⋅YouTube ⋅Twitter ⋅Facebook ⋅Instram ⋅Python Tutorials ⋅Search ⋅PrivacyPolicy ⋅EnergyPolicy ⋅Advertise ⋅ContactHappyPythoning!(function(){varisAndroid=nigator.userent.toLowerCase().indexOf("android")>-1;if(!isAndroid){return;}varstyles=`@font-face{font-family:'DejuSansMono';font-weight:normal;font-style:normal;font-display:swap;src:url('/static/mfonts/deju-sans-mono.33ff915.woff2')format('woff2'),url('/static/mfonts/deju-sans-mono.0da77d3739f3.woff')format('woff'),url('/static/mfonts/deju-sans-mono.c2356fc.ttf')format('truetype');}code,kbd,pre,samp{font-family:'DejuSansMono',monospace;}`varstyleSheet=document.createElement("style")styleSheet.type="text/css"styleSheet.innerText=stylesdocument.head.appendChild(styleSheet)})();(function(){document.querySelectorAll(".js-search-form-submit").forEach(function(el){el.addEventListener("click",function(e){e.preventDefault();e.currentTarget.parentElement.submit();})});})();{"@context":"schema.org","@graph":[{"@type":"Organization","name":"RealPython","url":"realpython.com","logo":{"@type":"ImeObject","url":"realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png","width":Tutoriais Python: Python Real512,"height":512},"description":"RealPythonisaleadingproviderofonlinePythoneducationandoneofthelargestlangue-specificonlinecommunitiesforsoftwaredevelopers.Itpublisheshigh-qualitylearningresources,suchastutorials,books,andcoursestoanaudienceofmillionsofdevelopers,datascientists,andmachinelearningengineerseachmonth.","slogan":"BecomeaPythonExpert","email":"info@realpython.com","sameAs":["/realpython","twitter.com/realpython","x.com/realpython","/company/realpython-com/","/learnrealpython","/realpython","/@realpython.com"]},{"@context":"schema.org","@type":"WebSite","url":"realpython.com","potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"realpython.com/search?q={query}"},"query-input":"requiredname=query"}}]}!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;t.src=v;s=b.getElementsByTName(e)[0];s.parentNode.insertBefore(t,s)}(windowTutoriais Python: Python Real,document,'script','connect.facebook.net/en_US/fbevents.js');fbq('init','');fbq('track','PeView');