Skip to content
Sign UpLog In
Profile icon

normalF

@normalF
Repls
Community
normalF
normalF
shared a Post
1 year ago
How to get os.environ['SECRET'] working for other users?
Hello! I have been trying to get a program to work in Replit apps with secrets contained in it, like in this example. But as you can see, it raises Ke
secret
Python
CosmicBear
CosmicBear
The secrets don't exist for other users. It only exists for your account. To other accounts, they aren't there.1 year ago
CyberDaDev
CyberDaDev
This [might] (https://able.bio/rhett/how-to-set-and-get-environment-variables-in-python--274rgt5) help. EDIT: mental note- check grammar before you comment you moron xD @youtubemirror1 year ago
normalF
normalF
AN IMPORTANT NOTE: os.environ[] was working for me while logged out before, but it suddenly stopped working. Hope this clears some things up.1 year ago
normalF
normalF
shared a Post
1 year ago
I want to show a file to a user like the '.txt' file in the example via a string or link in the console. How would I go about this without having to s
fileExample
Python
EthanMartin223
EthanMartin223
Try varhere = f.read()1 year ago
Glitchez
Glitchez
let me get this straight, you want to display the file to the user in the console?1 year ago