logo rip
RIP Tutorial
  • Tags
  • Topics
  • Examples
  • eBooks

Topics

  • topic.Title
  • topic.Title
  • topic.Title
  • topic.Title
  • topic.Title
  • topic.Title
  • topic.Title
  • topic.Title
  • topic.Title
  • topic.Title
  • topic.Title
  • topic.Title
  • topic.Title
  • topic.Title
  • topic.Title
  • topic.Title
  • topic.Title
  • topic.Title
  • topic.Title
  • topic.Title
  • topic.Title
  • topic.Title
  • topic.Title
  • topic.Title
  • topic.Title
  • topic.Title

Examples

  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title

Topics

  • Getting started with Python Language
  • List comprehensions
  • List
  • Functions
  • Decorators
  • Files & Folders I/O
  • String Methods
  • Generators
  • Simple Mathematical Operators
  • Classes
  • Date and Time
  • Multithreading
  • Unit Testing
  • Regular Expressions (Regex)
  • Bitwise Operators
  • Incompatibilities moving from Python 2 to Python 3
  • Context Managers (“with” Statement)
  • String Formatting
  • Conditionals
  • Itertools Module
  • Security and Cryptography
  • tempfile NamedTemporaryFile
  • List Comprehensions
  • Web Server Gateway Interface (WSGI)
  • 2to3 tool
  • Abstract Base Classes (abc)

Examples

  • Getting Started
  • Conditional List Comprehensions
  • File modes
  • Division
  • Parsing a string into a timezone aware datetime object
  • Grouping
  • Replacing
  • List Comprehensions with Nested Loops
  • Integer Division
  • Unpacking Iterables
  • Raising and handling Exceptions
  • if, elif, and else
  • Alignment and padding
  • Refactoring filter and map to list comprehensions
  • Format literals (f-string)
  • Setting the ABCMeta metaclass
  • Grouping items from an iterable object using a function
  • str.translate: Translating characters in a string
  • Take a slice of a generator
  • Iterating over generators in parallel
  • Zipping two iterators until they are both exhausted
  • Mocking functions with unittest.mock.create_autospec
  • Using the cmp function to get the comparison result of two objects
  • Chaining multiple iterators together
  • Get an accumulated sum of numbers in an iterable
  • Cycle through elements in an iterator
  • Asserting on Exceptions

Kevin Brown

StackOverflow Profile

profile for Kevin Brown at Stack Overflow, Q&A for professional and enthusiast programmers



logo rip
SUPPORT & PARTNERS
  • Advertise with us
  • Contact us
  • Privacy Policy
STAY CONNECTED

Get monthly updates about new articles, cheatsheets, and tricks.