#!/usr/bin/env python # -*- coding: UTF-8 -*- import sys sys.path.append('../..') import fstools print(fstools.is_writeable('..')) print(fstools.is_writeable('../__init__.py'))