Code snippets while learning python libraries. (For my bad memory..-.-)