Ask coding questions

← Back to all posts
Secrets folder
belk42 (0)

I'm having a lot of trouble getting my information from my secrets folder into my file. This is my error:
Traceback (most recent call last):
File "main.py", line 20, in <module>
client.run(os.getenviron('my_secret'))
AttributeError: module 'os' has no attribute 'getenviron'
I'm not sure what I'm doing wrong. I've tried multiple things.