Wizard of os (and other libraries)¶
Yehuda Deutsch¶
import this¶
This talk is about: * Python OS abstraction builtin libraries
This talk isn't about (at least not in-depth): * OS internals * Python internals
Assumptions: * You use Python 3.14 * You use a Linux based OS * You know some python language basics
import os as os1¶
The Operating System provides processes abstractions to physical and virtual resources
Most common programming languages provide interfaces to those abstractions, some also add more abstractions
os.uname¶
Yehuda Deutsch¶
Software Developer with a sweet tooth for infrastructure
Sr. Staff DevOps Engineer at Palo Alto Networks
Open Source / Data / Knowledge activist
Self Hoster
Not a wizard
import os¶
OS legacy multitool
import platform¶
Platform identification
import io¶
import sys¶
Questions?¶
Links¶
https://docs.python.org/3/library/os.html https://docs.python.org/3/library/platform.html https://docs.python.org/3/library/io.html https://docs.python.org/3/library/sys.html https://docs.python.org/3/library/shutil.html https://docs.python.org/3/glossary.html