Update pymanager.py