some basic system software practice written in Python