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.

Source Distribution

backports.shutil_which-3.5.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

backports.shutil_which-3.5.1-py2.py3-none-any.whl (3.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file backports.shutil_which-3.5.1.tar.gz.

File metadata

File hashes

Hashes for backports.shutil_which-3.5.1.tar.gz
Algorithm Hash digest
SHA256 dd439a7b02433e47968c25a45a76704201c4ef2167deb49830281c379b1a4a9b
MD5 12184879a7c3c87c3ffb04bca313f113
BLAKE2b-256 ddea715dc80584207a0ff4a693a73b03c65f087d8ad30842832b9866fe18cb2f

See more details on using hashes here.

File details

Details for the file backports.shutil_which-3.5.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for backports.shutil_which-3.5.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ce71e4040360e239d142e73d28d592f1951cdff4330db6616efcb43d1abe6ad4
MD5 fb422dd7db88fc7c95d838917932e634
BLAKE2b-256 a2c4fb76dfc7831416ec0832420abbd72d8fac262a44df2759deeaf75c8c0d70

See more details on using hashes here.

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