Video description
From first-class functions to abstract base classes, apply Pythonic tricks to your application and be a Python rockstar
About This Video
- Take your programming skills to the next level in crucial areas of programming such as looping, data structures, and OOP. We show you 30 unique Python techniques containing hidden gems in Python PEPs, the standard library, and documentation.
- Go from Python user to Python expert by learning tips and tricks gathered from StackOverflow, developer forums, and the Python source code.
- Following a problem-solution format, each video makes it easy to understand tried and tested solutions to solve common problems, using unique Python tricks.
In Detail
You have been programming in Python for a while now. You know that Python is easy to get started with, but hard to get right. You want to write Pythonic code to make an impact in both the open source arena and your career.
This course is will take you from a Python outsider to an insider. You will benefit from insights from the Python documentation, PEPs, and online developer communities to learn the ultimate Pythonic ways to tackle common programming patterns. This course covers tips, tricks, and techniques for loops, data structures, object-oriented programming, functions, and more, helping you work on ordered collections and key-value stores for dictionaries. You will be able to increase the speed and performance of your code while making it easier to debug. Start writing cleaner code for your applications and learn to organize it better in just 3 hours.
No other course can transform every corner of your Python code. Take this course NOW and become an overnight Python rockstar developer.
This course uses Python 3.6, while not the latest version available, it provides relevant and informative content for legacy users of Python.
Publisher resources
Table of contents
-
Chapter 1 : Working on Ordered Collections with Lists and List Comprehension
- The Course Overview 00:02:27
- Using List Comprehensions to Shorten for Loops 00:07:10
- Inserting if Statements Using Conditional List Comprehensions 00:04:55
- Operating on Lists of Lists with Nested List Comprehensions 00:05:34
- Simplify Your Collapsing Nested Lists 00:04:27
- List Slicing Tricks 00:05:37
-
Chapter 2 : Creating Simple Key-value Stores with Python Dictionaries
- Never Get a KeyError Again with the defaultdict Data Structure 00:07:16
- Collapsing Nested Dictionaries to Simplify Your Code 00:06:07
- Mini Switch-case Statements with Dictionaries 00:05:11
- Merging Two Dictionaries with Just One line of Code 00:04:04
- Creating a Dictionary with List Comprehension in Python 00:03:20
-
Chapter 3 : Speeding Up Your Code with High Performance Container Datatypes
- Counting Occurrences of Items Quickly with Counter 00:05:04
- Creating Stacks or Queues with Deque Objects 00:04:34
- Grouping Related Values with Tuples and Sequences 00:04:52
- Gathering Unique Sets of Values with Sets and Frozensets 00:04:15
- Powering Up Your Dictionaries with Ordered Dictionaries 00:04:33
- Chapter 4 : Making Your Code Easier to Debug With Functional Programming
- Chapter 5 : Organizing Your Code Better with OOP and Classes
-
Chapter 6 : Creating Safer and Cleaner Applications with Pythonic Patterns
- Enumerating the Indices of Your Loops with No Extra Lines 00:05:51
- Underscore Useless Variables to Make Your Code Easier to Look at 00:06:03
- Uncommon “for..else” Loop to End Your Iteration 00:03:29
- Pretty Printing Any Python Data Structure 00:04:39
- Managing Your Dynamic Resources Carefully with Context Managers 00:05:05
Product information
- Title: Python Tips, Tricks and Techniques
- Author(s):
- Release date: July 2018
- Publisher(s): Packt Publishing
- ISBN: 9781789138535
You might also like
video
Python Fundamentals
51+ hours of video instruction. Overview The professional programmer’s Deitel® video guide to Python development with …
video
Python Survival Skills
6.5+ Hours of Video Instruction Take your Python skills to the next level! Overview helps you …
video
Modern Python LiveLessons: Big Ideas and Little Code in Python
Overview Modern Python LiveLessons: Big Ideas and Little Code in Python provides developers with an approach …
video
Python Beyond The Basics - Object Oriented Programming
In this Python Beyond the Basics - Object-Oriented Programming training course, expert author David Blaikie will …