Skip to main content

Backport of shutil.which from Python 3.3

Project description

Use Python 3 shutil.which on Python 2:

try:
    from shutil import which
except ImportError:
    from backports.shutil_which import which

Project details


Download files

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

Files for backports.shutil_which, version 3.5.2
Filename, size File type Python version Upload date Hashes
Filename, size backports.shutil_which-3.5.2-py2.py3-none-any.whl (2.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size backports.shutil_which-3.5.2.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page