Update open.py