Answers for "how to know if i'm in a virtual environment"

0

how to know if i'm in a virtual environment

import sys
sys.prefix == sys.base_prefix
# if true, you are not in a virtual env
Posted by: Guest on January-05-2021

Code answers related to "how to know if i'm in a virtual environment"

Python Answers by Framework

Browse Popular Code Answers by Language