Back to Browse

Idiomatic Python: The two-argument version of `iter()`

3.3K views
Mar 12, 2023
19:01

This video is the first of many looking at how to write idiomatic Python (aka writing Pythonic code). In this video, we look at the `iter()` function and how it can be used to simplify a specific pattern of reading data in chunks (from files, sockets, etc) #mathbyteacademy #python Code for this Video ================ Available in GitHub blog repo: https://github.com/fbaptiste/python-blog Direct link: https://tinyurl.com/5x9p4u5v My Python Courses ================= - Python 3 Fundamentals (introduction to Python) https://www.udemy.com/course/python3-fundamentals/?referralCode=DA09C6F40CEC38C942F6 - Python 3 Deep Dive (Part 1 - Functional) https://www.udemy.com/course/python-3-deep-dive-part-1/?referralCode=E46B931C71EE01845062 - Python 3 Deep Dive (Part 2 - Iteration, Generators) https://www.udemy.com/course/python-3-deep-dive-part-2/?referralCode=3E7AFEF5174F04E5C8D4 - Python 3 Deep Dive (Part 3 - Hash Maps) https://www.udemy.com/course/python-3-deep-dive-part-3/?referralCode=C5B0D9AB965B9BF4C49F - Python 3 Deep Dive (Part 4 - OOP) https://www.udemy.com/course/python-3-deep-dive-part-4/?referralCode=3BB758BE4C04FB983E6F

Download

1 formats

Video Formats

360pmp419.6 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Idiomatic Python: The two-argument version of `iter()` | NatokHD