René's URL Explorer Experiment


Title: Python itertools By Example – Real Python

Open Graph Title: Python itertools By Example – Real Python

Description: Master Python's itertools module by constructing practical examples. You'll start out simple and then gradually tackle more complex challenges, encouraging you to "think iteratively."

Open Graph Description: Master Python's itertools module by constructing practical examples. You'll start out simple and then gradually tackle more complex challenges, encouraging you to "think iteratively."

Mail addresses
?subject=Python article for you&body=Python itertools By Example on Real Python https://realpython.com/python-itertools/

Opengraph URL: https://realpython.com/python-itertools/

X: @realpython

direct link

Domain: realpython.com


Hey, it has json ld scripts:
{
  "@context": "http://schema.org",
  "@type": "Article",
  "headline": "Python itertools By Example",
  "image": {
    "@type": "ImageObject",
    "url": "https://files.realpython.com/media/Itertools-in-Python-3-By-Example_Watermarked.28292955f88b.jpg",
    "width": 1920,
    "height": 1080
  },
  "mainEntityOfPage": {
    "@type": "WebPage",
    "@id": "https://realpython.com/python-itertools/",
    "lastReviewed": "2023-12-19",
    "author": {
      "@type": "Person",
      "name": "David Amos",
      "image": "https://realpython.com/cdn-cgi/image/width=400,height=400,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/me-small.f5f49f1c48e1.jpg",
      "url": "https://realpython.com/team/damos/",
      "affiliation": {
        "@type": "Organization",
        "@id": "https://realpython.com/#organization",
        "name": "Real Python",
        "url": "https://realpython.com",
        "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
      }
    },
    "reviewedBy": [
      {
        "@type": "Person",
        "name": "Aldren Santos",
        "image": "https://realpython.com/cdn-cgi/image/width=500,height=500,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/Aldren_Santos_Real_Python.6b0861d8b841.png",
        "url": "https://realpython.com/team/asantos/",
        "affiliation": {
          "@type": "Organization",
          "@id": "https://realpython.com/#organization",
          "name": "Real Python",
          "url": "https://realpython.com",
          "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
        }
      },
      {
        "@type": "Person",
        "name": "Brad Solomon",
        "image": "https://realpython.com/cdn-cgi/image/width=1188,height=1188,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/Screen_Shot_2021-09-28_at_3.13.21_PM.3310c56e90bd.jpg",
        "url": "https://realpython.com/team/bsolomon/",
        "affiliation": {
          "@type": "Organization",
          "@id": "https://realpython.com/#organization",
          "name": "Real Python",
          "url": "https://realpython.com",
          "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
        }
      },
      {
        "@type": "Person",
        "name": "Dan Bader",
        "image": "https://realpython.com/cdn-cgi/image/width=1000,height=1000,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/daniel-square.d58bf4388750.jpg",
        "url": "https://realpython.com/team/dbader/",
        "affiliation": {
          "@type": "Organization",
          "@id": "https://realpython.com/#organization",
          "name": "Real Python",
          "url": "https://realpython.com",
          "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
        }
      },
      {
        "@type": "Person",
        "name": "Jim Anderson",
        "image": "https://realpython.com/cdn-cgi/image/width=700,height=700,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/jima.0b8f990b951a.jpg",
        "url": "https://realpython.com/team/janderson/",
        "affiliation": {
          "@type": "Organization",
          "@id": "https://realpython.com/#organization",
          "name": "Real Python",
          "url": "https://realpython.com",
          "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
        }
      },
      {
        "@type": "Person",
        "name": "Joanna Jablonski",
        "image": "https://realpython.com/cdn-cgi/image/width=800,height=800,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/jjablonksi-avatar.e37c4f83308e.jpg",
        "url": "https://realpython.com/team/jjablonski/",
        "affiliation": {
          "@type": "Organization",
          "@id": "https://realpython.com/#organization",
          "name": "Real Python",
          "url": "https://realpython.com",
          "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
        }
      }
    ]
  },
  "datePublished": "2018-05-30T14:00:00+00:00",
  "dateModified": "2023-12-19T15:43:38.828720+00:00",
  "publisher": {
    "@type": "Organization",
    "@id": "https://realpython.com/#organization",
    "name": "Real Python",
    "url": "https://realpython.com",
    "logo": {
      "@type": "ImageObject",
      "url": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png",
      "width": 512,
      "height": 512
    },
    "description": "Real Python is a leading provider of online Python education and one of the largest language-specific online communities for software developers. It publishes high-quality learning resources, such as tutorials, books, and courses to an audience of millions of developers, data scientists, and machine learning engineers each month.",
    "slogan": "Become a Python Expert",
    "email": "info@realpython.com",
    "sameAs": [
      "https://github.com/realpython",
      "https://www.youtube.com/realpython",
      "https://twitter.com/realpython",
      "https://x.com/realpython",
      "https://www.linkedin.com/company/realpython-com/",
      "https://www.facebook.com/learnrealpython",
      "https://www.instagram.com/realpython",
      "https://www.tiktok.com/@realpython.com"
    ]
  },
  "author": {
    "@type": "Person",
    "name": "David Amos",
    "image": "https://realpython.com/cdn-cgi/image/width=400,height=400,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/me-small.f5f49f1c48e1.jpg",
    "url": "https://realpython.com/team/damos/",
    "affiliation": {
      "@type": "Organization",
      "@id": "https://realpython.com/#organization",
      "name": "Real Python",
      "url": "https://realpython.com",
      "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
    }
  },
  "description": "Master Python's itertools module by constructing practical examples. You'll start out simple and then gradually tackle more complex challenges, encouraging you to \"think iteratively.\""
}

authorReal Python
twitter:cardsummary_large_image
twitter:imagehttps://files.realpython.com/media/Itertools-in-Python-3-By-Example_Watermarked.28292955f88b.jpg
og:imagehttps://files.realpython.com/media/Itertools-in-Python-3-By-Example_Watermarked.28292955f88b.jpg
twitter:creator@realpython
og:typearticle

Links:

https://realpython.com/
Start Herehttps://realpython.com/start-here/
Learn Python https://realpython.com/python-itertools
Python Tutorials →In-depth articles and video courseshttps://realpython.com/search?kind=article&kind=course&order=newest
Learning Paths →Guided study plans for accelerated learninghttps://realpython.com/learning-paths/
Quizzes & Exercises →Check your learning progresshttps://realpython.com/quizzes/
Browse Topics →Focus on a specific area or skill levelhttps://realpython.com/tutorials/all/
Community Chat →Learn with other Pythonistashttps://realpython.com/community/
Office Hours →Live Q&A calls with Python expertshttps://realpython.com/office-hours/
Podcast →Hear what’s new in the world of Pythonhttps://realpython.com/podcasts/rpp/
Books →Round out your knowledge and learn offlinehttps://realpython.com/products/books/
Reference →Concise definitions for common Python termshttps://realpython.com/ref/
Code Mentor →BetaPersonalized code assistance & learning toolshttps://realpython.com/mentor/
Unlock All Content →https://realpython.com/account/join/
More https://realpython.com/python-itertools
Learner Storieshttps://realpython.com/learner-stories/
Python Newsletterhttps://realpython.com/newsletter/
Python Job Boardhttps://www.pythonjobshq.com
Meet the Teamhttps://realpython.com/team/
Become a Contributorhttps://realpython.com/jobs/
Searchhttps://realpython.com/search
https://realpython.com/search
Joinhttps://realpython.com/account/join/
Sign‑Inhttps://realpython.com/account/login/?next=%2Fpython-itertools%2F
Browse Topicshttps://realpython.com/tutorials/all/
Guided Learning Pathshttps://realpython.com/learning-paths/
Basicshttps://realpython.com/search?level=basics
Intermediatehttps://realpython.com/search?level=intermediate
Advancedhttps://realpython.com/search?level=advanced
aihttps://realpython.com/tutorials/ai/
algorithmshttps://realpython.com/tutorials/algorithms/
apihttps://realpython.com/tutorials/api/
best-practiceshttps://realpython.com/tutorials/best-practices/
careerhttps://realpython.com/tutorials/career/
communityhttps://realpython.com/tutorials/community/
databaseshttps://realpython.com/tutorials/databases/
data-sciencehttps://realpython.com/tutorials/data-science/
data-structureshttps://realpython.com/tutorials/data-structures/
data-vizhttps://realpython.com/tutorials/data-viz/
devopshttps://realpython.com/tutorials/devops/
djangohttps://realpython.com/tutorials/django/
dockerhttps://realpython.com/tutorials/docker/
editorshttps://realpython.com/tutorials/editors/
flaskhttps://realpython.com/tutorials/flask/
front-endhttps://realpython.com/tutorials/front-end/
gamedevhttps://realpython.com/tutorials/gamedev/
guihttps://realpython.com/tutorials/gui/
machine-learninghttps://realpython.com/tutorials/machine-learning/
newshttps://realpython.com/tutorials/news/
numpyhttps://realpython.com/tutorials/numpy/
projectshttps://realpython.com/tutorials/projects/
pythonhttps://realpython.com/tutorials/python/
stdlibhttps://realpython.com/tutorials/stdlib/
testinghttps://realpython.com/tutorials/testing/
toolshttps://realpython.com/tutorials/tools/
web-devhttps://realpython.com/tutorials/web-dev/
web-scrapinghttps://realpython.com/tutorials/web-scraping/
Table of Contentshttps://realpython.com/python-itertools#toc
What Is Itertools and Why Should You Use It?https://realpython.com/python-itertools#what-is-itertools-and-why-should-you-use-it
The grouper Recipehttps://realpython.com/python-itertools#the-grouper-recipe
Et tu, Brute Force?https://realpython.com/python-itertools#et-tu-brute-force
Section Recaphttps://realpython.com/python-itertools#section-recap
Sequences of Numbershttps://realpython.com/python-itertools#sequences-of-numbers
Evens and Oddshttps://realpython.com/python-itertools#evens-and-odds
Recurrence Relationshttps://realpython.com/python-itertools#recurrence-relations
Section Recaphttps://realpython.com/python-itertools#section-recap_1
Dealing a Deck of Cardshttps://realpython.com/python-itertools#dealing-a-deck-of-cards
Section Recaphttps://realpython.com/python-itertools#section-recap_2
Intermission: Flattening A List of Listshttps://realpython.com/python-itertools#intermission-flattening-a-list-of-lists
Analyzing the S&P500https://realpython.com/python-itertools#analyzing-the-sp500
Maximum Gain and Losshttps://realpython.com/python-itertools#maximum-gain-and-loss
Longest Growth Streakhttps://realpython.com/python-itertools#longest-growth-streak
Section Recaphttps://realpython.com/python-itertools#section-recap_3
Building Relay Teams From Swimmer Datahttps://realpython.com/python-itertools#building-relay-teams-from-swimmer-data
Where to Go From Herehttps://realpython.com/python-itertools#where-to-go-from-here
https://realpython.com/feedback/survey/article/python-itertools/liked/?from=article-sidebar
https://realpython.com/feedback/survey/article/python-itertools/disliked/?from=article-sidebar
David Amoshttps://realpython.com/python-itertools#author
https://realpython.com/python-itertools#reader-comments
advancedhttps://realpython.com/tutorials/advanced/
pythonhttps://realpython.com/tutorials/python/
stdlibhttps://realpython.com/tutorials/stdlib/
What Is Itertools and Why Should You Use It?https://realpython.com/python-itertools#what-is-itertools-and-why-should-you-use-it
The grouper Recipehttps://realpython.com/python-itertools#the-grouper-recipe
Et tu, Brute Force?https://realpython.com/python-itertools#et-tu-brute-force
Section Recaphttps://realpython.com/python-itertools#section-recap
Sequences of Numbershttps://realpython.com/python-itertools#sequences-of-numbers
Evens and Oddshttps://realpython.com/python-itertools#evens-and-odds
Recurrence Relationshttps://realpython.com/python-itertools#recurrence-relations
Section Recaphttps://realpython.com/python-itertools#section-recap_1
Dealing a Deck of Cardshttps://realpython.com/python-itertools#dealing-a-deck-of-cards
Section Recaphttps://realpython.com/python-itertools#section-recap_2
Intermission: Flattening A List of Listshttps://realpython.com/python-itertools#intermission-flattening-a-list-of-lists
Analyzing the S&P500https://realpython.com/python-itertools#analyzing-the-sp500
Maximum Gain and Losshttps://realpython.com/python-itertools#maximum-gain-and-loss
Longest Growth Streakhttps://realpython.com/python-itertools#longest-growth-streak
Section Recaphttps://realpython.com/python-itertools#section-recap_3
Building Relay Teams From Swimmer Datahttps://realpython.com/python-itertools#building-relay-teams-from-swimmer-data
Where to Go From Herehttps://realpython.com/python-itertools#where-to-go-from-here
Remove adshttps://realpython.com/account/join/
docshttps://docs.python.org/3/library/itertools.html
Python Iterators: A Step-By-Step Introductionhttps://dbader.org/blog/python-iterators
Introduction to Python Generatorshttps://realpython.com/introduction-to-python-generators/
Python Tricks: The Bookhttps://realpython.com/asins/1775093301/
Multiple assignment and tuple unpacking improve Python code readabilityhttp://treyhunner.com/2018/03/tuple-unpacking-improves-python-code-readability/
Click here to get our itertools cheat sheethttps://realpython.com/bonus/itertools-cheatsheet/
https://realpython.com/python-itertools#what-is-itertools-and-why-should-you-use-it
itertools docshttps://docs.python.org/3/library/itertools.html
built-in zip() functionhttps://docs.python.org/3/library/functions.html#zip
iterableshttps://realpython.com/python-iterators-iterables/#getting-to-know-python-iterables
iteratorhttps://realpython.com/python-iterators-iterables/#getting-to-know-python-iterators
Python 3 docs glossaryhttps://docs.python.org/3/glossary.html#term-iterable
iter() built-in functionhttps://docs.python.org/3/library/functions.html#iter
iterator objecthttps://docs.python.org/3/library/stdtypes.html#typeiter
the zip() functionhttps://realpython.com/python-zip-function/
zip()https://realpython.com/courses/python-zip-function/
The map() built-in functionhttps://realpython.com/python-map-function/
iterators are iterablehttps://docs.python.org/3/glossary.html#term-iterator
zip()https://docs.python.org/2/library/functions.html#zip
map()https://docs.python.org/2/library/functions.html#map
izip()https://docs.python.org/2/library/itertools.html#itertools.izip
imap()https://docs.python.org/2/library/itertools.html#itertools.imap
removed from itertoolshttps://docs.python.org/3.0/whatsnew/3.0.html#views-and-iterators-instead-of-lists
lazy evaluationhttps://en.wikipedia.org/wiki/Lazy_evaluation
listhttps://realpython.com/python-list/
tuplehttps://realpython.com/python-lists-tuples/
Remove adshttps://realpython.com/account/join/
https://realpython.com/python-itertools#the-grouper-recipe
Recipes sectionhttps://docs.python.org/3.6/library/itertools.html#itertools-recipes
https://realpython.com/python-itertools#et-tu-brute-force
“brute force”https://en.wikipedia.org/wiki/Brute-force_search
combinationhttps://en.wikipedia.org/wiki/Combination
numbershttps://realpython.com/python-numbers/
combinatorial explosionhttps://en.wikipedia.org/wiki/Combinatorial_explosion
Remove adshttps://realpython.com/account/join/
https://realpython.com/python-itertools#section-recap
https://realpython.com/python-itertools#itertoolscombinations-example
https://realpython.com/python-itertools#itertoolscombinations_with_replacement-example
https://realpython.com/python-itertools#itertoolspermutations-example
https://realpython.com/python-itertools#sequences-of-numbers
https://realpython.com/python-itertools#evens-and-odds
generatorshttps://realpython.com/courses/python-generators/
Ever since Python 3.1https://docs.python.org/3.1/whatsnew/3.1.html#new-improved-and-deprecated-modules
built-in enumerate() functionhttps://realpython.com/python-enumerate/
Remove adshttps://realpython.com/account/join/
https://realpython.com/python-itertools#recurrence-relations
recurrence relationhttps://en.wikipedia.org/wiki/Recurrence_relation
Fibonacci sequencehttps://en.wikipedia.org/wiki/Fibonacci_number
Thinking Recursively in Pythonhttps://realpython.com/python-thinking-recursively/#naive-recursion-is-naive
https://realpython.com/python-itertools#first-order-recurrence-relations
https://realpython.com/python-itertools#second-order-recurrence-relations
Pell numbershttps://en.wikipedia.org/wiki/Pell_number
Lucas numbershttps://en.wikipedia.org/wiki/Lucas_number
Remove adshttps://realpython.com/account/join/
https://realpython.com/python-itertools#section-recap_1
https://realpython.com/python-itertools#itertoolscount-example
https://realpython.com/python-itertools#itertoolsrepeat-example
https://realpython.com/python-itertools#itertoolscycle-example
https://realpython.com/python-itertools#itertools-accumulate-example
https://realpython.com/python-itertools#dealing-a-deck-of-cards
nestedhttps://realpython.com/nested-loops-python/
Cartesian producthttps://en.wikipedia.org/wiki/Cartesian_product
Fisher-Yates shufflehttps://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle
in O(n) timehttps://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle#The_modern_algorithm
slicinghttps://stackoverflow.com/questions/509211/understanding-pythons-slice-notation
docshttps://docs.python.org/3/library/itertools.html#itertools.tee
Remove adshttps://realpython.com/account/join/
https://realpython.com/python-itertools#section-recap_2
https://realpython.com/python-itertools#itertoolsproduct-example
https://realpython.com/python-itertools#itertoolstee-example
https://realpython.com/python-itertools#itertoolsislice-example
https://realpython.com/python-itertools#itertoolschain-example
https://realpython.com/python-itertools#intermission-flattening-a-list-of-lists
Star Trek: The Nth Iterationhttps://archive.org/details/Trek-nTheNthIteration
Remove adshttps://realpython.com/account/join/
https://realpython.com/python-itertools#analyzing-the-sp500
herehttps://github.com/realpython/materials/tree/master/itertools-in-python3
Yahoo Financehttps://finance.yahoo.com/quote/%5EGSPC?p=^GSPC
namedtuplehttps://realpython.com/python-namedtuple/
collections modulehttps://docs.python.org/3/library/collections.html
datetime.datetimehttps://docs.python.org/3/library/datetime.html#datetime.datetime
.__le__()https://docs.python.org/3/reference/datamodel.html#object.__le__
.__lt__()https://docs.python.org/3/reference/datamodel.html#object.__lt__
.__gt__()https://docs.python.org/3/reference/datamodel.html#object.__gt__
dunder methodshttps://realpython.com/operator-function-overloading/
max() and min()https://realpython.com/python-min-and-max/
namedtuplehttps://docs.python.org/3/library/collections.html#collections.namedtuple
this excellent resourcehttps://dbader.org/blog/writing-clean-python-with-namedtuples
Ultimate Guide to Data Classeshttps://realpython.com/python-data-classes/
csv.DictReader()https://docs.python.org/3/library/csv.html#csv.DictWriter
OrderedDicthttps://realpython.com/python-ordereddict/
variablehttps://realpython.com/python-variables/
Pandashttps://pandas.pydata.org/
Remove adshttps://realpython.com/account/join/
https://realpython.com/python-itertools#maximum-gain-and-loss
functools.reduce() functionhttps://docs.python.org/3/library/functools.html#functools.reduce
reduce()https://realpython.com/python-reduce-function/
Remove adshttps://realpython.com/account/join/
https://realpython.com/python-itertools#longest-growth-streak
pointerhttps://realpython.com/pointers-in-python/
https://realpython.com/python-itertools#section-recap_3
https://realpython.com/python-itertools#itertoolsfilterfalse-example
https://realpython.com/python-itertools#itertoolstakewhile-example
https://realpython.com/python-itertools#itertoolsdropwhile-example
Remove adshttps://realpython.com/account/join/
https://realpython.com/python-itertools#building-relay-teams-from-swimmer-data
herehttps://github.com/realpython/materials/tree/master/itertools-in-python3
SP500 examplehttps://realpython.com/python-itertools#analyzing-the-sp500
datetime.time objecthttps://docs.python.org/3/library/datetime.html#time-objects
statistics.median()https://docs.python.org/3/library/statistics.html#statistics.median
datetime.datetime.strptime() classmethodhttps://docs.python.org/3/library/datetime.html#datetime.datetime.strptime
The grouper() recipehttps://realpython.com/python-itertools#the-grouper-recipe
Remove adshttps://realpython.com/account/join/
https://realpython.com/python-itertools#where-to-go-from-here
second order recurrence relationshttps://realpython.com/python-itertools#second-order-recurrence-relations
lazy evaluationhttps://en.wikipedia.org/wiki/Lazy_evaluation
Click here to get our itertools cheat sheethttps://realpython.com/bonus/itertools-cheatsheet/
starmap()https://docs.python.org/3/library/itertools.html#itertools.starmap
compress()https://docs.python.org/3/library/itertools.html#itertools.compress
What is the Purpose of itertools.repeat()https://stackoverflow.com/questions/9059173/what-is-the-purpose-in-pythons-itertools-repeat/9098860#9098860
Fastest Way to Generate a Random-like Unique String With Random Length in Python 3https://stackoverflow.com/questions/48421142/fastest-way-to-generate-a-random-like-unique-string-with-random-length-in-python/48421303#48421303
Write a Pandas DataFrame to a String Buffer with Chunkinghttps://stackoverflow.com/questions/49372880/write-pandas-dataframe-to-string-buffer-with-chunking/49374826#49374826
more-itertoolshttps://github.com/erikrose/more-itertools
https://realpython.com/feedback/survey/article/python-itertools/liked/?from=article-footer
https://realpython.com/feedback/survey/article/python-itertools/disliked/?from=article-footer
https://realpython.com/team/damos/
» More about Davidhttps://realpython.com/team/damos/
https://realpython.com/team/asantos/
Aldrenhttps://realpython.com/team/asantos/
https://realpython.com/team/bsolomon/
Bradhttps://realpython.com/team/bsolomon/
https://realpython.com/team/dbader/
Danhttps://realpython.com/team/dbader/
https://realpython.com/team/janderson/
Jimhttps://realpython.com/team/janderson/
https://realpython.com/team/jjablonski/
Joannahttps://realpython.com/team/jjablonski/
Level Up Your Python Skills »https://realpython.com/account/join/?utm_source=rp_article_footer&utm_content=python-itertools
Level Up Your Python Skills »https://realpython.com/account/join/?utm_source=rp_article_footer&utm_content=python-itertools
https://realpython.com/feedback/survey/article/python-itertools/liked/?from=article-comments
https://realpython.com/feedback/survey/article/python-itertools/disliked/?from=article-comments
LinkedInhttps://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Frealpython.com%2Fpython-itertools%2F
Twitterhttps://twitter.com/intent/tweet/?text=Interesting%20Python%20article%20on%20%40realpython%3A%20Python%20itertools%20By%20Example&url=https%3A%2F%2Frealpython.com%2Fpython-itertools%2F
Blueskyhttps://bsky.app/intent/compose?text=Interesting%20Python%20article%20on%20%40realpython.com%3A%20Python%20itertools%20By%20Example%20https%3A%2F%2Frealpython.com%2Fpython-itertools%2F
Facebookhttps://facebook.com/sharer/sharer.php?u=https%3A%2F%2Frealpython.com%2Fpython-itertools%2F
Get tips for asking good questionshttps://realpython.com/python-beginner-tips/#tip-9-ask-good-questions
get answers to common questions in our support portalhttps://support.realpython.com
Real Python Community Chathttps://realpython.com/community/
“Office Hours” Live Q&A Sessionhttps://realpython.com/office-hours/
advancedhttps://realpython.com/tutorials/advanced/
pythonhttps://realpython.com/tutorials/python/
stdlibhttps://realpython.com/tutorials/stdlib/
Generators and Generator Expressionshttps://realpython.com/learning-paths/generators-and-generator-expressions/?utm_source=realpython&utm_medium=web&utm_campaign=related-learning-path&utm_content=python-itertools
What Exactly Is the Zen of Python?https://realpython.com/zen-of-python/?utm_source=realpython&utm_medium=web&utm_campaign=related-post&utm_content=python-itertools
How to Use Generators and yield in Pythonhttps://realpython.com/introduction-to-python-generators/?utm_source=realpython&utm_medium=web&utm_campaign=related-post&utm_content=python-itertools
An Intro to Threading in Pythonhttps://realpython.com/intro-to-python-threading/?utm_source=realpython&utm_medium=web&utm_campaign=related-post&utm_content=python-itertools
Working With JSON Data in Pythonhttps://realpython.com/python-json/?utm_source=realpython&utm_medium=web&utm_campaign=related-post&utm_content=python-itertools
Functional Programming in Python: When and How to Use Ithttps://realpython.com/python-functional-programming/?utm_source=realpython&utm_medium=web&utm_campaign=related-post&utm_content=python-itertools
https://realpython.com/account/signup/?intent=continue_reading&utm_source=rp&utm_medium=web&utm_campaign=rwn&utm_content=v1&next=%2Fpython-itertools%2F
Continue »https://realpython.com/account/signup/?intent=continue_reading&utm_source=rp&utm_medium=web&utm_campaign=rwn&utm_content=v1&next=%2Fpython-itertools%2F
Sign-Inhttps://realpython.com/account/login/?next=/python-itertools/
Start Herehttps://realpython.com/start-here/
Learning Resourceshttps://realpython.com/search
Code Mentorhttps://realpython.com/mentor/
Python Referencehttps://realpython.com/ref/
Python Cheat Sheethttps://realpython.com/cheatsheets/python/
Support Centerhttps://support.realpython.com/
Learning Pathshttps://realpython.com/learning-paths/
Quizzes & Exerciseshttps://realpython.com/quizzes/
Browse Topicshttps://realpython.com/tutorials/all/
Live Courseshttps://realpython.com/live/
Bookshttps://realpython.com/books/
Podcasthttps://realpython.com/podcasts/rpp/
Newsletterhttps://realpython.com/newsletter/
Community Chathttps://realpython.com/community/
Office Hourshttps://realpython.com/office-hours/
Learner Storieshttps://realpython.com/learner-stories/
Plans & Pricinghttps://realpython.com/account/join/
Team Planshttps://realpython.com/account/join-team/
For Businesshttps://realpython.com/account/join-team/inquiry/
For Schoolshttps://realpython.com/account/join-team/education-inquiry/
Reviewshttps://realpython.com/learner-stories/
About Ushttps://realpython.com/about/
Teamhttps://realpython.com/team/
Mission & Valueshttps://realpython.com/mission/
Editorial Guidelineshttps://realpython.com/editorial-guidelines/
Sponsorshipshttps://realpython.com/sponsorships/
Careershttps://realpython.workable.com
Press Kithttps://realpython.com/media-kit/
Merchhttps://realpython.com/merch
https://www.youtube.com/realpython
https://x.com/realpython
https://www.linkedin.com/company/realpython-com
https://www.facebook.com/LearnRealPython
https://github.com/realpython/
Privacy Policyhttps://realpython.com/privacy-policy/
Terms of Usehttps://realpython.com/terms/
Securityhttps://realpython.com/security/
Contacthttps://realpython.com/contact/
https://realpython.com/

Viewport: width=device-width, initial-scale=1, shrink-to-fit=no, viewport-fit=cover

Robots: max-image-preview:large


URLs of crawlers that visited me.