Tag: Snippet
-
Upgrade Ubuntu from command line
Default release upgrade behaviour is configured in /etc/update-manager/release-upgrades. Upgrade with sudo do-release-upgrade.
-
Python’s with statement
Managing resources usually involves three steps – allocating, using, and releasing. You’re familiar with the try… finally pattern but Python also provides context managers.