How to use 'python 4 release date' in Python

Every line of 'python 4 release date' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Python code is secure.

All examples are scanned by Snyk Code

By copying the Snyk Code Snippets you agree to
32def python_version() -> None:
33 """
34 Check that the Python version is supported
35 """
36 py_version = sys.version.split()[0]
37 if py_version < "3.5":
38 print(error_message(), "Unsupported Python version")
39 sys.exit(1)

Related snippets