1 2 3 4 5 6 7 8 9
# -*- coding: utf-8 -*- READ = 1 << 0 MODIFY = 1 << 1 APPEND = 1 << 2 LIST = 1 << 3 class PermissionError(Exception): pass