Python Library Examples¶
This is my spellbook: a collection of copy-paste recipes using my favourite Python libraries. Once you are familiar with the basics of Python and know how to install a library, most of the recipes should be accessible for beginners.
The purpose of this collection is to give you an impression what kind of things are possible with Python.
Numbers¶
Lists and Dictionaries¶
Text¶
Date and Time¶
Paths and Directories¶
Read and Write Files¶
Plotting¶
Image Processing¶
Data Science¶
Databases¶
Web programming¶
User Interfaces¶
The Python Interpreter¶
Acknowledgements¶
Thanks to Emely Henninger for finding a nasty bug in networkx!