Python Standard Library Tutorials


Explore Python's standard library, modules such as os, json, re, ftplib, imaplib, threading, pickle, socket, random, secrets and many more.

How to Use Pickle for Object Serialization in Python
How to Use Pickle for Object Serialization in Python

Using Python standard library pickle module to save (pickle) and load (unpickle) any type of object in Python.

How to Compress and Decompress Files in Python
How to Compress and Decompress Files in Python

Learn how to compress and decompress files, folders and symbolic links in Python using gzip compression in tarfile built-in module.

How to Transfer Files in the Network using Sockets in Python
How to Transfer Files in the Network using Sockets in Python

Writing a server and client Python scripts that receives and sends files in the network using sockets module in Python.