Ask coding questions

← Back to all posts
Environment Variables not working
SujataGoswami (0)

When I store something on env.
I can't get the value of this by

import os
os.getenv('TOKEN')

this return None
help me

Answered by LukeWright (287) [earned 5 cycles]
View Answer
Comments
hotnewtop
LukeWright (287)

are you storing it in the env manager? (click the lock on the left side of the screen)

SujataGoswami (0)

@LukeWright Yes, but can't get the value with
os.environ.get too