modify access.py to support python3