Home  /  python

Boilerplate of a Python script

CLI prompts

Fetching online data

The snippets below show how to download a binary file, and how to fetch and parse JSON.

Read more…

File I/O in Python

Files and folders

Various methods to copy, delete and create files and folders. Inludes methods to move files and folders to the trash bin instead of deleting them.

Read more…

Handling JSON

Reading properties from an environment file