Update pyconnect.py