Decorators in Python || Python Tutorial || Learn Python Programming
Socratica
@socraticaAbout
Socratica makes high-quality educational videos on โพ๏ธ math ๐งช science ๐ป computer programming and more! We're a couple of Caltech grads who believe you deserve better videos. You'll #LearnMore with us. ๐ฆ Check out our COURSES on our website!
Latest Posts
Video Description
๐๐๐๐ฃ ๐ช๐ฅ ๐๐ค๐ง ๐๐ค๐๐ง๐๐ฉ๐๐๐ ๐พ๐ค๐ช๐ง๐จ๐๐จ: https://www.socratica.com/collections ๐๐ค๐๐ง๐๐ฉ๐๐๐ ๐๐ฎ๐ฉ๐๐ค๐ฃ ๐จ๐๐๐ง๐ฉ: https://shop.socratica.com/products/python-by-socratica Python decorators are "syntactic sugar" that makes it easy to add new features to a function or class without changing its code. To understand decorators, and to write your own, you'll learn how in Python, functions are "first class citizens" and how functions can be nested inside each other. These two features are the essential features that make decorators easy to write and super easy to use. ๐๐ง๐ค๐๐ง๐๐ข๐ข๐๐ฃ๐ ๐ฅ๐ก๐๐ฎ๐ก๐๐จ๐ฉ๐จ: Python: http://bit.ly/PythonSocratica SQL: http://bit.ly/SQL_Socratica Subscribe to Socratica + bell for notifications: http://bit.ly/SocraticaSubscribe โงโงโงโงโง We recommend: How to Be a Great Student ebook: https://amzn.to/2Lh3XSP Paperback: https://amzn.to/3t5jeH3 Kindle Unlimited (read free): https://amzn.to/3atr8TJ Python Cookbook, 3rd edition https://amzn.to/3jprjX2 โงโงโงโงโง Join this channel to get access to perks: https://www.youtube.com/channel/UCW6TXMZ5Pq6yL6_k5NZ2e0Q/join Support Socratica on Patreon: https://www.patreon.com/socratica Python instructor: Ulka Simone Mohanty (@ulkam on Twitter) Written & Produced by Michael Harrison Edited by Megi Shuke and Michael Harrison #pythontutorial #decorators #coding
Essential iPhone 13 Upgrades
AI-recommended products based on this video

for Magsafe Car Mountใ20 Strong Magnets ใMagnetic Phone Holder for Car Phone Holder Mount Dashใ360ยฐใCell Phone Mount for Car Accessories,Car Mount for iPhone 16 Pro Max 15 14 13 12 Plus MagSafe Cases

Apple AirPods Pro 2 Wireless Earbuds, Bluetooth Headphones, Active Noise Cancellation, Transparency, Personalized Spatial Audio, High-Fidelity Sound, H2 Chip, USB-C Charging

3 in 1 Charging Station for iPhone, Wireless Charger for iPhone 16 15 14 13 12 11 X Pro Max & Apple Watch - Charging Stand Dock for AirPods Global Recycled Standard

3 in 1 Charging Station for iPhone, Wireless Charger for iPhone 16 15 14 13 12 11 X Pro Max & Apple Watch - Charging Stand Dock for AirPods (Blue) Global Recycled Standard

Wireless Charger for iPhone- 3 in 1 Charging Station for iPhone 16/15/14/13/12/Pro Max/Pro/Mini/Plus, Apple Watch 10/9/8/7/SE/6/5/4/3/2/1/Ultra2/Ultra, AirPods pro/2/3/4

8BitDo Charging Dock for Xbox Wireless Controllers, Xbox Charging Station with Magnetic Secure Charging for Xbox Series X|S and Xbox One Controller - Officially Licensed (Black)

3 in 1 Charging Station for Samsung, Wireless Charger for Samsung S25/S25+/S24/S23/S22/Z Fold/Z Flip Series/Galaxy Watch/Buds Charging Dock Stand๏ผWithout Adapter๏ผ

Asus ROG Spatha X Wireless Gaming Mouse โ MMO/MOBA Design, 12 Programmable Buttons, Right-Handed, 168g, Dual-Mode (Wired/2.4GHz), 19K DPI, up to 67Hr Battery, Magnetic Charging Dock, PC/Mac Support

3 in 1 Charging Station for iPhone, Wireless Charger for iPhone 16 15 14 13 12 11 X Pro Max & Apple Watch - Charging Stand Dock for AirPods Global Recycled Standard

Girl Moments: Coloring Book for Adults and Teens Featuring Cute Cozy Daily Activities for Relaxation

ESR 3 Pack of iPhone 17 Pro Max Screen Protector, Military-Grade Shatterproof, 9H Hardness, Full Coverage Tempered Glass with Ultra Fit Tray Global Recycled Standard
![ESR 3 Pack 9H+ Glass for iPhone 17 Pro Max Screen Protector, [Military-Grade Shatterproof & Highly Durable] Armorite Ultra-Tough Tempered Glass with Ultra Fit Tray Global Recycled Standard](https://m.media-amazon.com/images/I/71OeKeufmnL._AC_UL960_FMwebp_QL65_.jpg)
ESR 3 Pack 9H+ Glass for iPhone 17 Pro Max Screen Protector, [Military-Grade Shatterproof & Highly Durable] Armorite Ultra-Tough Tempered Glass with Ultra Fit Tray Global Recycled Standard

TOCOL for iPhone 17 Pro Max Screen Protector 6.9 inch 9H Hardness Military Grade Shatterproof HD Tempered Glass for iPhone 17 Pro Max/16 Pro Max Full Coverage Easy Installation, Case Friendly, 2 Pack Global Recycled Standard

ESR 3 Pack for iPhone 17 Pro Max Privacy Screen Protector, Military Grade Shatterproof, 9H Hardness, Anti-spy Tempered Glass with UltraFit Tray Global Recycled Standard
![Anker USB C Cable, [2-Pack, 6 ft] Type C Charger Premium Nylon USB Cable, USB A to Type C Charging Cable Fast Charge for Samsung Galaxy S10 S10+ / Note 8, LG V20 and Other USB C Charger (Black)](https://m.media-amazon.com/images/I/71N7xhCJnoL._AC_UL960_FMwebp_QL65_.jpg)
Anker USB C Cable, [2-Pack, 6 ft] Type C Charger Premium Nylon USB Cable, USB A to Type C Charging Cable Fast Charge for Samsung Galaxy S10 S10+ / Note 8, LG V20 and Other USB C Charger (Black)
![MRGLAS 2025 Upgraded Magsafe Car Mount Vacuum Suction Magnetic Phone Holder Car, 360ยฐ Foldable Adjustable Suction Cup Phone Stand [89+LBS Suction & 2800gf Magnetic] for Car Accessories iPhone17/16](https://m.media-amazon.com/images/I/71UbeT7ccLL._AC_UL960_FMwebp_QL65_.jpg)
MRGLAS 2025 Upgraded Magsafe Car Mount Vacuum Suction Magnetic Phone Holder Car, 360ยฐ Foldable Adjustable Suction Cup Phone Stand [89+LBS Suction & 2800gf Magnetic] for Car Accessories iPhone17/16

OHLPRO Tablet Car Mount Universal Tablet Holder for Car Windshield Dash Dashboard, 360 Degree Rotation,TPU Suction Gel Stick, for iPad Mini 4/3/2/1Samsung Galaxy Size 7"- 10.5" Tablet Mount

Magnetic Car Mount Air Vent Cell Phone Holder, Universal Vehicle Dash Dashboard Ac Airvent Cellphone Magic Stand with Clip Hook, for iPhone 16 15 Samsung Lenovo Google etc

AINOPE Phone Holder for Car Vent 2025 Gravity Air Vent Car Phone Holder Mount for iPhone 17 Pro Max Vent Clip Hand Free Cell Phone Car Mount for iPhone Air 17 16 Pro Max Samsung S25 Car Accesorries
![Spigen Case for iPhone 16 Pro Max Case, Rugged Armor [MagFit] Compatible with MagSafe - Matte Black](https://m.media-amazon.com/images/I/71Gh0VOQtlL._AC_UL960_FMwebp_QL65_.jpg)
Spigen Case for iPhone 16 Pro Max Case, Rugged Armor [MagFit] Compatible with MagSafe - Matte Black
![Spigen Case for iPhone 16 Pro Case, Tough Armor [MagFit] Compatible with MagSafe - Black](https://m.media-amazon.com/images/I/61rMnLID99L._AC_UL960_FMwebp_QL65_.jpg)
Spigen Case for iPhone 16 Pro Case, Tough Armor [MagFit] Compatible with MagSafe - Black

Spigen Case for iPhone 15, iPhone 14, and iPhone 13, Ultra Hybrid MagFit Designed for Apple iPhone 15/14/13 - Crystal Clear

Spigen Thin Fit MagFit Compatible with iPhone 17 Pro Case - Black ClimatePartner certified

Magnetic Wireless Charger for iPhone: Fodable 3 in 1 Charging Station for Multiple Apple Devices - Travel Charging Pad Dock for Apple Watch iPhone 16 15 14 13 12 Pro Max Plus & Airpod Global Recycled Standard

2 Pack Magnetic Wireless Charger 15W Fast Mag-Safe Charger Stand Compatible with iPhone 16/15/14/13/12 Series Wireless Charging Pad for AirPods 3/2/Pro 2/Pro White Portable Mag Safe Kickstand

Wireless Earbuds, 2025 Bluetooth 5.4 Bass Stereo Headphones with 4 ENC Mic, 48H Playback Ear Buds with Charging Case LED Display,Sport Earphones IPX7 Waterproof for Phone, Android, Pad, White

soundcore by Anker P20i True Wireless Earbuds, 10mm Drivers with Big Bass, Bluetooth 5.3, 30H Long Playtime, IPX5 Water-Resistant, 2 Mics for AI Clear Calls, 22 Preset EQs, Customization via App

soundcore P31i by Anker, Real-Time Adaptive Noise Cancelling, Hi-Res Sound, Translation Earbuds, 50H Playtime, Wireless Earbuds, Bluetooth Earphones, Spatial Audio, Fast Charging, IP55 ClimatePartner certified

soundcore by Anker Q20i Hybrid Active Noise Cancelling Headphones, Wireless Over-Ear Bluetooth, 40H Long ANC Playtime, Hi-Res Audio, Big Bass, Customize via an App, Transparency Mode, Ideal for Travel

soundcore by Anker Q20i Hybrid Active Noise Cancelling Headphones, Wireless Over-Ear Bluetooth, 40H Long ANC Playtime, Hi-Res Audio, Big Bass, Customize via an App, Transparency Mode, Ideal for Travel
![VANMASS [85+LBS Strongest Suction & Clip] 2025 Upgrade Car Phone Holder [Patent & Safety Certs] Cell Phone Mount Truck Stand for Dashboard Windshield Vent for iPhone 16 Pro Max 15 14 13 12 Samsung](https://m.media-amazon.com/images/I/71bHSP1cRkL._AC_UL960_FMwebp_QL65_.jpg)
VANMASS [85+LBS Strongest Suction & Clip] 2025 Upgrade Car Phone Holder [Patent & Safety Certs] Cell Phone Mount Truck Stand for Dashboard Windshield Vent for iPhone 16 Pro Max 15 14 13 12 Samsung
![iPhone Charger Fast Charging [Apple MFi Certified] USB C to Lightning Cable 6FT USBC to Lightning Cable Nylon Braided Type C Cord for iPhone 14 13 12 11 Pro Max XR XS X 8 7 6 Plus SE, iPad](https://m.media-amazon.com/images/I/517jTqwo1nL._AC_UL960_FMwebp_QL65_.jpg)
iPhone Charger Fast Charging [Apple MFi Certified] USB C to Lightning Cable 6FT USBC to Lightning Cable Nylon Braided Type C Cord for iPhone 14 13 12 11 Pro Max XR XS X 8 7 6 Plus SE, iPad
![iPhone Charger [Apple MFi Certified] 3FT, 3Pack USB A to Lightning Cable Braided Fast Charging Apple Cord Compatible with iPhone 14 13 12 11 Pro Max XS XR X 8 7 6 5 Plus iPad/iPod/AirPods](https://m.media-amazon.com/images/I/71xZOlUELbL._AC_UL960_FMwebp_QL65_.jpg)
iPhone Charger [Apple MFi Certified] 3FT, 3Pack USB A to Lightning Cable Braided Fast Charging Apple Cord Compatible with iPhone 14 13 12 11 Pro Max XS XR X 8 7 6 5 Plus iPad/iPod/AirPods



















