commonLib.py