Miscellaneous short but useful Python code snippets, created and collected over time.
Please feel free to use, share, and contribute.
Calculate distance and compass heading between 2 GPS co-ordinates.
Calculate md5 checksum value of any file of any size
Generate a random string consisting only uppercase(A-Z) and numbers(0-9).
- Fork, add an useful function
- Add useful docstring, test-cases, parameters
- Create a pull-request