-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
- Try built-in type hints and MyPy. Interesting URLs:
- Use
assert, likeassert len(marks) != 0, "List is empty." - play with INI config files [wikipedia]
- frozenset
- join(my_list)
- timeit
- format
- itertools
- print exception messages:
except typeError as e: print(e) - logging
- import logging + use it (propagate?)
- use a
logging.conffile
- use a
RotatingFileHandler - dunder methods (also known as magic methods)
- learn about and use function and class decorators
- context manager protocol
import jsonimport secrets
Metadata
Metadata
Assignees
Labels
No labels