My Python Library
During my research for the book “Learn Python the Hard Way” I stumble often over good websites/ressources that help me solve some problems. Here I will make a growing list of it as a library for me but also for you to use. Feel free to make your own library below.
General Python
The Hitchhiker’s Guide to Python!
It helps you with a lot of topics related to Python. Like installing, virtual environments, packaging, testing, code structuring, etc. It’s a really good start if you want to research a new topic in Python.
Quote from their Website:
This handcrafted guide exists to provide both novice and expert Python developers a best practice handbook to the installation, configuration, and usage of Python on a daily basis.
http://docs.python-guide.org/en/latest/
Formatting
PyFormat
Thanks to @donal_m I found this site, that is a good reference when you have to look up string formatting in Python.
Quote from the website:
Python has had awesome string formatters for many years but the documentation on them is far too theoretic and technical. With this site we try to show you the most common use-cases covered by the old and new style string formatting API with practical examples.
Testing
Mouse vs. Python: Python 3 Testing - An Intro to unittest
Very clear and down-to-the-earth explanation of what unittest does. This article helped me a lot to find my way into the understanding how to use tests.
Quote from the article:
The unittest module is actually a testing framework that was originally inspired by JUnit. It currently supports test automation, the sharing of setup and shutdown code, aggregating tests into collections and the independence of tests from the reporting framework.
https://www.blog.pythonlibrary.org/2016/07/07/python-3-testing-an-intro-to-unittest/