Every line of 'python dotenv' 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.
38 def create_env(self, py, args): 39 if py: 40 args = ["--python=%s" % py] + args 41 subprocess.check_call( 42 [sys.executable, '-m', 'virtualenv', str(self.root)] + args, 43 )
12 def dotenv_for(): 13 dotenv_path = find_dotenv() 14 if dotenv_path == '': 15 dotenv_path = '.env' 16 _create_env(dotenv_path) 17 return dotenv_path