Python Library FS-Tools
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

is_writeable.py 181B

1234567891011
  1. #!/usr/bin/env python
  2. # -*- coding: UTF-8 -*-
  3. import sys
  4. sys.path.append('../..')
  5. import fstools
  6. print(fstools.is_writeable('..'))
  7. print(fstools.is_writeable('../__init__.py'))