|
Make a class
|
newbie
classes
|
|
Class with str
|
newbie
dunder methods
classes
|
|
Make a dataclass
|
dataclasses
newbie
classes
|
|
Complete a user class: properties and representation dunder methods
|
properties
classes
__repr__
string manipulation
dunder methods
f-strings
__str__
|
|
Keep a list sorted upon insert
|
bisect
data structures
classes
__str__
|
|
Write a user validation function
|
exception handling
classes
namedtuple
|
|
No promo twice, keep state in a class
|
exception handling
properties
classes
|
|
Create a multiplication table class of variable length
|
exception handling
numbers
dunder methods
classes
|
|
Keep state in a class + make its instance callable
|
dunder methods
classes
|
|
Subclass the dict built-in
|
classes
inheritance
|
|
Oop fun at the zoo
|
classmethod
itertools
classes
__str__
|
|
Complete a tox ini file parser class
|
configparser
tox
properties
classes
string parsing
string matching
|
|
Multiple inheritance (__mro__)
|
multiple inheritance
__mro__
classes
inheritance
|
|
Add type hints to a class
|
dataclasses
type hinting
classes
|
|
Thumbs up for operator overloading
|
exception handling
classes
emojis
dunder methods
operator overloading
|
|
A simple document class
|
properties
classes
annotations
string
method chaining
|
|
Alternative constructors
|
classmethod
classes
|
|
Abc's and class inheritance
|
abstractmethod
ABCs
classes
inheritance
|
|
Building a karma app - implement the user class
|
properties
classes
dunder methods
operator overloading
namedtuple
|
|
Number guessing game class
|
random
games
classes
|
|
Write a score property
|
properties
classes
|
|
Ninja rankings
|
classes
bisect
heapq
tuples
dunder methods
dataclasses
|
|
Create a js-like dict object
|
javascript
classes
dict
inheritance
|
|
Cached property decorator
|
caching
decorators
properties
classes
|
|
Analysing @pythonbytes rss feed
|
regular expressions
classes
max
min
Counter
string matching
feedparser
type hinting
namedtuple
|
|
Scrape best programming books
|
data wrangling
classes
beautifulsoup
data cleaning
books
web scraping
sorting
|
|
Write tests for an account class
|
pytest
classes
|
|
Test a number guessing game
|
exception handling
classes
games
mock.patch
pytest
|
|
Test a movie db class
|
classes
fixtures
SQL
sqlite3
movie data
pytest
|
|
Taxable income calculator
|
typing
finance
properties
classes
dataclasses
namedtuple
|
|
Evaluate a bridge hand
|
exception handling
properties
classes
looping
sorting
enum
|