python create environment variable
import os
os.environ['variable_name'] = 'variable_value'
python create environment variable
import os
os.environ['variable_name'] = 'variable_value'
python path to python executable
>>> import sys
>>> print(sys.executable)
C:pathtopython.exe
add python to path
# On linux
$ which python; # Get Path of the executable
$ export PATH=$PATH:{PATH_PYTHON}; # but it isn't continue
# ----------------------
$ which python; # Get Path of the executable
export PATH=$PATH:{PATH_PYTHON}; # add in your ~/.bashrc or your ~/.zshrc
creating environment variable in python
DEBUG = config('DEBUG', cast=bool)
EMAIL_PORT = config('EMAIL_PORT', cast=int)
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us