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.2.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

backports.shutil_which-3.5.2-py2.py3-none-any.whl (2.7 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: backports.shutil_which-3.5.2.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5

File hashes

Hashes for backports.shutil_which-3.5.2.tar.gz
Algorithm Hash digest
SHA256 fe39f567cbe4fad89e8ac4dbeb23f87ef80f7fe8e829669d0221ecdb0437c133
MD5 739bd7d6d03fc36ffd656e5d9c7507a5
BLAKE2b-256 a02251b896a4539f1bff6a7ab8514eb031b9f43f12bff23f75a4c3f4e9a666e5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: backports.shutil_which-3.5.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5

File hashes

Hashes for backports.shutil_which-3.5.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 dc627fb2bc40f8ad7e012d7d9a59ed0cb1b74a9510ed936b3f9358b7ac6d4d31
MD5 c97381f5bd8333c51d880589562b1f5c
BLAKE2b-256 3d1b136e8ffa98ce077e12afde6c333eb2b61266e0de0e404ec7a0c47b8f8a8b

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