print(os.environ['BOT_TOKEN']) it gives me a KeyError code example
Example: keyerror: 'OUTPUT_PATH'
fptr = sys.stdout # stdout is already an open stream
#or
os.environ['OUTPUT_PATH'] = 'junk.txt' # before you open the fptr!
fptr = sys.stdout # stdout is already an open stream
#or
os.environ['OUTPUT_PATH'] = 'junk.txt' # before you open the fptr!