René's URL Explorer Experiment


Title: Writing Clean, Pythonic Code With namedtuple (Overview) (Video) – Real Python

Open Graph Title: Writing Clean, Pythonic Code With namedtuple (Overview) – Real Python

Description: Welcome to Writing Clean, Pythonic Code With Named Tuples. My name is Christopher, and I will be your guide. In this course, you’ll learn about named tuples. In particular, how to create them with the collections.namedtuple() factory, defining…

Open Graph Description: Welcome to Writing Clean, Pythonic Code With Named Tuples. My name is Christopher, and I will be your guide. In this course, you’ll learn about named tuples. In particular, how to create them with the collections.namedtuple() factory, defining…

Opengraph URL: https://realpython.com/videos/python-namedtuple-overview/

X: @realpython

direct link

Domain: realpython.com


Hey, it has json ld scripts:
  {
    "@context": "https://schema.org",
    "@type": "VideoObject",
    "name": "Writing Clean, Pythonic Code With namedtuple (Overview)",
    "description": "Welcome to Writing Clean, Pythonic Code With Named Tuples. My name is Christopher, and I will be your guide. In this course, you’ll learn about named tuples. In particular, how to create them with the collections.namedtuple() factory, defining…",
    "thumbnailUrl": ["https://files.realpython.com/media/Clean-Up-Your-Python-Code-With-namedtuple_Watermarked.0ab0ddbda383.jpg"],
    "uploadDate": "2023-02-28T14:00:00+00:00",
    "duration": "PT1M42S",
    "embedUrl": "https://player.vimeo.com/video/796754150",
    "potentialAction": {
      "@type": "SeekToAction",
      "target": "https://realpython.com/videos/python-namedtuple-overview/#t={seek_to_second_number}",
      "startOffset-input": "required name=seek_to_second_number"
    }
  }
  

authorReal Python
twitter:cardsummary_large_image
twitter:imagehttps://files.realpython.com/media/Clean-Up-Your-Python-Code-With-namedtuple_Watermarked.0ab0ddbda383.jpg
og:imagehttps://files.realpython.com/media/Clean-Up-Your-Python-Code-With-namedtuple_Watermarked.0ab0ddbda383.jpg
twitter:creator@realpython
og:typevideo.episode

Links:

https://realpython.com/
Start Herehttps://realpython.com/start-here/
Learn Python https://realpython.com/courses/python-namedtuple/continue/
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/courses/python-namedtuple/continue/
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 Tutorial Writerhttps://realpython.com/write-for-us/
Become a Video Instructorhttps://realpython.com/become-an-instructor/
Searchhttps://realpython.com/search
https://realpython.com/search
Joinhttps://realpython.com/account/join/
Sign‑Inhttps://realpython.com/account/login/?next=%2Fvideos%2Fpython-namedtuple-overview%2F
https://realpython.com/courses/python-namedtuple/#team
Writing Clean, Pythonic Code With namedtuplehttps://realpython.com/courses/python-namedtuple/
Christopher Trudeauhttps://realpython.com/courses/python-namedtuple/#team
Recommended Tutorialhttps://realpython.com/python-namedtuple/
Course Slides (.pdf)https://realpython.com/courses/python-namedtuple/downloads/python-namedtuple-slides/
Sample Code (.zip)https://realpython.com/courses/python-namedtuple/downloads/python-namedtuple-code/
Ask a Questionhttps://realpython.com/courses/python-namedtuple/continue/#discussion
https://realpython.com/feedback/survey/course/python-namedtuple/liked/?from=lesson-title
https://realpython.com/feedback/survey/course/python-namedtuple/disliked/?from=lesson-title
Contentshttps://realpython.com/courses/python-namedtuple/continue/#description
Transcripthttps://realpython.com/courses/python-namedtuple/continue/#transcript
Discussionhttps://realpython.com/courses/python-namedtuple/continue/#discussion
collectionshttps://docs.python.org/3/library/collections.html#module-collections
factory functionhttps://en.wikipedia.org/wiki/Factory_(object-oriented_programming)
namedtuple()https://docs.python.org/3/library/collections.html#collections.namedtuple
immutablehttps://docs.python.org/3/glossary.html#term-immutable
writing Pythonic and readable codehttps://realpython.com/learning-paths/writing-pythonic-code/
Tupleshttps://realpython.com/python-lists-tuples/
Dictionarieshttps://realpython.com/python-dicts/
Classes and object-oriented programminghttps://realpython.com/python3-object-oriented-programming/
Data classeshttps://realpython.com/python-data-classes/
Sample Code (.zip)https://realpython.com/courses/python-namedtuple/downloads/python-namedtuple-code/
Course Slides (.pdf)https://realpython.com/courses/python-namedtuple/downloads/python-namedtuple-slides/
00:00https://realpython.com/courses/python-namedtuple/continue/#t=0.48
Welcome to Writing Clean, Pythonic Code With Named Tuples.https://realpython.com/courses/python-namedtuple/continue/#t=0.48
My name is Christopher, and I will be your guide. In this course,https://realpython.com/courses/python-namedtuple/continue/#t=4.01
you’ll learn about named tuples. In particular,https://realpython.com/courses/python-namedtuple/continue/#t=8.41
how to create them with the collections.namedtuple() factory, defining defaulthttps://realpython.com/courses/python-namedtuple/continue/#t=11.55
values for your named tuple, using built-in utility methods and attributes,https://realpython.com/courses/python-namedtuple/continue/#t=16.35
making your code more Pythonic by using named tuples,https://realpython.com/courses/python-namedtuple/continue/#t=21.4
deciding on when to use named tuples vs other data structures, and how tohttps://realpython.com/courses/python-namedtuple/continue/#t=25.24
extend named tuples.https://realpython.com/courses/python-namedtuple/continue/#t=30.22
00:34https://realpython.com/courses/python-namedtuple/continue/#t=34.18
Tuples are built-in Python data types that specify an ordered sequence of datahttps://realpython.com/courses/python-namedtuple/continue/#t=34.18
attributes. Conceptually, they’re similar to lists, but unlike lists,https://realpython.com/courses/python-namedtuple/continue/#t=38.06
tuples are immutable.https://realpython.com/courses/python-namedtuple/continue/#t=42.62
00:44https://realpython.com/courses/python-namedtuple/continue/#t=44.45
A named tuple is an extension to tuples that is found in the collections module.https://realpython.com/courses/python-namedtuple/continue/#t=44.45
They add some features to tuples—for example,https://realpython.com/courses/python-namedtuple/continue/#t=48.81
the parts of a named tuple are, well, named.https://realpython.com/courses/python-namedtuple/continue/#t=51.72
00:54https://realpython.com/courses/python-namedtuple/continue/#t=54.53
This means the data inside the tuple can be accessed like the attribute of ahttps://realpython.com/courses/python-namedtuple/continue/#t=54.53
class, using dot notation.https://realpython.com/courses/python-namedtuple/continue/#t=58.7
Each named tuple automatically comes with some utility methods and extra fields.https://realpython.com/courses/python-namedtuple/continue/#t=60.8
01:05https://realpython.com/courses/python-namedtuple/continue/#t=65.48
This allows you to do things like create new instances of an immutable objecthttps://realpython.com/courses/python-namedtuple/continue/#t=65.48
based on your existing one. And like tuples,https://realpython.com/courses/python-namedtuple/continue/#t=69.41
named tuples are very memory efficient. In fact,https://realpython.com/courses/python-namedtuple/continue/#t=72.81
named tuples use no more memory than regular tuples themselves.https://realpython.com/courses/python-namedtuple/continue/#t=75.37
01:19https://realpython.com/courses/python-namedtuple/continue/#t=79.79
At the core of it,https://realpython.com/courses/python-namedtuple/continue/#t=79.79
being able to name a field in a tuple makes your code more readable.https://realpython.com/courses/python-namedtuple/continue/#t=80.66
Consider these variables: person[2] and person.middle_name.https://realpython.com/courses/python-namedtuple/continue/#t=84.74
01:29https://realpython.com/courses/python-namedtuple/continue/#t=89.36
The second one is far easier to understand within the context of your code.https://realpython.com/courses/python-namedtuple/continue/#t=89.36
01:36https://realpython.com/courses/python-namedtuple/continue/#t=96.25
Next up, I’ll dive in and show you how to create and manipulate named tuples.https://realpython.com/courses/python-namedtuple/continue/#t=96.25
Become a Memberhttps://realpython.com/account/join/
Overviewhttps://realpython.com/courses/python-namedtuple/
https://realpython.com/videos/use-namedtuple/
Writing Clean, Pythonic Code With namedtuple (Overview) 01:42 https://realpython.com/videos/python-namedtuple-overview/
Using namedtuple 09:47 https://realpython.com/videos/use-namedtuple/
Providing Optional Factory Arguments 05:41 https://realpython.com/lessons/optional-factory-arguments-namedtuple/
Understanding namedtuple Class Utilities 04:05 https://realpython.com/lessons/class-utilities-namedtuple/
Writing Cleaner Code 08:02 https://realpython.com/lessons/cleaner-code-namedtuple/
Comparing Data Structures 05:17 https://realpython.com/lessons/compare-data-structures-namedtuple/
Extending namedtuple Classes 04:03 https://realpython.com/lessons/extend-namedtuple-classes/
Writing Clean, Pythonic Code With namedtuple (Quiz) 07:30 https://realpython.com/lessons/writing-clean-pythonic-code-with-namedtuple-quiz/
Writing Clean, Pythonic Code With namedtuple (Summary) 02:10 https://realpython.com/lessons/python-namedtuple-summary/
Privacy Policyhttps://realpython.com/privacy-policy/

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.