Skip to main content

Check Python version

Project description

Usage

#!/usr/bin/env python
import pythonversion
pythonversion.PyVersionCheck(min="2.7.5",max="2.7.6")
print "foo"

python -V Python 2.7.10

test.py

The supported Python version for this script is from 2.7.5 to 2.7.6
#!/usr/bin/env python
import pythonversion
pythonversion.PyVersionCheck(min="2.7.5")
print "foo"

python -V Python 2.7.10

test.py

foo

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

pythonversion-0.2.zip (1.7 kB view details)

Uploaded Source

File details

Details for the file pythonversion-0.2.zip.

File metadata

  • Download URL: pythonversion-0.2.zip
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pythonversion-0.2.zip
Algorithm Hash digest
SHA256 81039832e9569b2e100d46cf0a9e4417aebdf479be2864d435f285f0c18bf421
MD5 3d7fb15413a3aad4b4eaf2fd5fdd1371
BLAKE2b-256 d6c0868af6ec8030434bcf3efb4bbcbd3eb0c27832638958d66b4b72d33193d9

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