System tools
Most system-level interfaces in Python are shipped in just two modules: sys and os.
Some other standard modules are,
- glob : for filename expansion
- socket : for network connections and Inter-Process Communication(IPC)
- thread and queue: For concurrent threads
- time: For accessing system time details
- fcnt1: For low-level file control
The os module provides a portable programming interface to the underlying operating system; its functions may be implemented differently on different platforms, but to python scripts, they look the same everywhere.
os.path provides portable interface to file and directory processing tools.