Premium Only Content
Python Typing - Type Hints & Annotations
Welcome back to another video! In this video, I'll be covering content from the typing module in Python like type hints and annotations. The typing module allows you to add types to a bunch of different things like variables and parameters. This can help with better documentation making it easier for others to read the code.
💻 Thanks to Altium Designer for sponsoring this video. Checkout the best PCD design software on the market by signing up for a FREE trial here: https://www.altium.com/yt/techwithtim
📄 Resources 📄
Typing Documentation: https://docs.python.org/3/library/typing.html
Fix Pip (Windows): https://www.youtube.com/watch?v=AdUZArA-kZw&t=204s
Fix Pip (Mac): https://www.youtube.com/watch?v=E-WhAS6qzsU
⭐️ Timestamps ⭐️
00:00 | Overview
01:52 | Typing Module
04:00 | Type Annotations
05:34 | Static Code Analysis (mypy)
07:01 | Function Annotations
8:30 | List Type
10:12 | Dict Type
10:55 | Set Type
11:23 | Custom Types
13:17 | Optional Type
14:33 | Any Type
15:06 | Sequence Type
17:07 | Tuple Type
18:14 | Callable Type
21:38 | Generics
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
💰 Courses & Merch 💰
💻 The Fundamentals of Programming w/ Python: https://tech-with-tim.teachable.com/p/the-fundamentals-of-programming-with-python
👕 Merchandise: https://teespring.com/stores/tech-with-tim-merch-shop
🔗 Social Medias 🔗
📸 Instagram: https://www.instagram.com/tech_with_tim
📱 Twitter: https://twitter.com/TechWithTimm
⭐ Discord: https://discord.gg/twt
📝 LinkedIn: https://www.linkedin.com/in/tim-ruscica-82631b179/
🌎 Website: https://techwithtim.net
📂 GitHub: https://github.com/techwithtim
🔊 Podcast: https://anchor.fm/tech-with-tim
🎬 My YouTube Gear 🎬
🎥 Main Camera (EOS Canon 90D): https://amzn.to/3cY23y9
🎥 Secondary Camera (Panasonic Lumix G7): https://amzn.to/3fl2iEV
📹 Main Lens (EFS 24mm f/2.8): https://amzn.to/2Yuol5r
🕹 Tripod: https://amzn.to/3hpSprv
🎤 Main Microphone (Rode NT1): https://amzn.to/2HrZxXc
🎤 Secondary Microphone (Synco Wireless Lapel System): https://amzn.to/3e07Swl
🎤 Third Microphone (Rode NTG4+): https://amzn.to/3oi0v8Z
☀️ Lights: https://amzn.to/2ApeiXr
⌨ Keyboard (Daskeyboard 4Q): https://amzn.to/2YpN5vm
🖱 Mouse (Logitech MX Master): https://amzn.to/2HsmRDN
📸 Webcam (Logitech 1080p Pro): https://amzn.to/2B2IXcQ
📢 Speaker (Beats Pill): https://amzn.to/2XYc5ef
🎧 Headphones (Bose Quiet Comfort 35): https://amzn.to/2MWbl3e
🌞 Lamp (BenQ E-reading Lamp): https://amzn.to/3e0UCr8
🌞 Secondary Lamp (BenQ Screenbar Plus): https://amzn.to/30Dtafi
💻 Monitor (BenQ EX2780Q): https://amzn.to/2HsmUPZ
💻 Monitor (LG Ultrawide 34WN750): https://amzn.to/3dSD7tS
🎙 Mic Boom Arm (Rode PSA 1): https://amzn.to/30EZw9m
🎚 Audio Interface (Focusrite Scarlet 4i4): https://amzn.to/2TjXsih
💸 Donations 💸
💵 One-Time Donations: https://www.paypal.com/donate?hosted_button_id=CU9FV329ADNT8
💰 Patreon: https://www.patreon.com/techwithtim
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
⭐️ Tags ⭐️
- Tech With Tim
- Typing Module
- Python
- Annotations
- Type Hints
- Generics
⭐️ Hashtags ⭐️
#TechWithTim #TypingModule
-
7:54
Tech With Tim
1 year ago $0.01 earnedThese 7 Coding Skills Give You an UNFAIR Advantage
253 -
0:29
IOL-IndependentOnline
2 years agoWilson's Wharf python
180 -
21:13
DeVory Darkins
7 hours ago $44.63 earnedMSNBC LOSES IT as Trump Election Win FINISHES OFF Kamala
74K211 -
34:36
Stephen Gardner
6 hours ago🔥Trump makes HUGE THREAT...Voters are loving it!
63.1K172 -
1:53:58
Kim Iversen
9 hours agoDems React To Trump Landslide. Will They Learn Or Get Worse?
127K134 -
1:51:02
Fresh and Fit
9 hours agoTop 3 Reasons Why Your Girl Shouldn’t Lead In A Relationship!
90.1K13 -
56:23
LFA TV
23 hours agoToo Big to Rig | Trumpet Daily 11.6.24 9PM EST
115K8 -
49:54
PMG
11 hours ago $5.39 earned"Hannah Faulkner and Scotty Saks | MSM INSIDER TURNED WHISTLEBLOWER"
75.9K3 -
1:43:46
Glenn Greenwald
9 hours agoTrump’s Landslide Win: Our Analysis, With Journalist Lee Fang | SYSTEM UPDATE #363
209K197 -
2:25:44
WeAreChange
9 hours agoKamala OFFICIALLY Concedes! Peace And Prosperity Or PREPARE Now?
158K26