Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Python Tips and Tricks for Writing Better Code

Corey Schafer via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Discover 10 essential Python tips and tricks to enhance your coding skills in this 39-minute video tutorial. Learn about ternary conditionals, underscore placeholders, context managers, enumerate, zip, unpacking, setattr/getattr, getpass, Python dash m, and the help/dir functions. Improve your code efficiency and readability with these Pythonic techniques, explained step-by-step with practical examples and timestamps for easy navigation.

Syllabus

1) Ternary Conditionals - .
2) Underscore Placeholders - .
3) Context Managers - .
4) Enumerate - .
5) Zip - .
6) Unpacking - .
7) Setattr/Getattr - .
8) GetPass - .
9) Python dash m - .
.

Taught by

Corey Schafer

Reviews

Start your review of Python Tips and Tricks for Writing Better Code

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.