NhacVibe
Ảnh bìa Python Typing - Type Hints & Annotations

Python Typing - Type Hints & Annotations

Tech With Tim · 146,6 N lượt xem · 29 thg 9, 2021

Mô tả

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/typ...
Fix Pip (Windows):    • How to Install Pygame (Windows 8/10)  
Fix Pip (Mac):    • How to Install Pygame on Mac OSX (Fast-Sim...  

⭐️ 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...
👕 Merchandise: https://teespring.com/stores/tech-wit...

🔗 Social Medias 🔗
📸 Instagram:   / tech_with_tim  
📱 Twitter:   / techwithtimm  
⭐ Discord:   / discord  
📝 LinkedIn:   / tim-ruscica-82631b179  
🌎 Website: https://techwithtim.net
📂 GitHub: https://github.com/techwithtim
🔊