py-reuse

Collection of useful python functions


Keywords
collection, linux, python, script, tools, utils
License
MIT
Install
pip install py-reuse==0.0.1

Documentation

reuse

Collection of useful python functions (reuse again and again).

Build Status

Here is a demo about how to use: Demo.

supported platform

  • Linux
  • python2.7 and higher
  • python3.5 and higher

installation

pip3 install --user py-reuse

how to use

import reuse as rs

rs.check_exist('/path/to/dir') # Check if a file or directory exist
rs.create_dir_if_not_exist('/path/to/new/dir') # Create a directory only when it didn't exist
...

docs: https://py-reuse.readthedocs.io.