Cannot Access Offset Of Type Array In Python Problem