Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Python
import different module based on python version
user3210944
Programming language:
Python
2021-06-15 15:26:46
0
Q:
import different module based on python version
EnglishUser
Code:
Python
2021-07-05 14:21:07
try: import simplejson as json except ImportError: import json
1
Tags
python
version
module
port
different
base
Related
install models python
how to know the version of python
list of imported modules in python
how to check opencv version using python
check python version
check package version jupyter python
get scipy version python
python version command
python version
importing python module from different directory
how to find python version
how to find where python modules are installed
check package version python
how to know all methods in a module in python
python check version
uses specific version python venv
New to Communities?
Join the community