Skip to main content

A growing collection of simple utilities functions for Python

Project description

python-simple-toolbelt

A growing collection of simple utilities functions for Python

Installation

pip install simple-toolbelt

Functions


path.ensure_dir

Create the directories, include subs, if don't exist.

from simple_toolbath.path import ensure_dir

with open(ensure_dir('this/path/to/file.txt'), 'w') as f:
    ...

Check on GitHub: https://github.com/mbiemann/python-simple-toolbelt

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simple_toolbelt-0.0.2.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

simple_toolbelt-0.0.2-py3-none-any.whl (2.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page