How to add environment variables into replit in python

Yes, but be aware setting them in .replit means anyone can read them!

1 Like

so what do type in into .replit

Under the [env] line add something like this:

variableName="variableValue"

I will once again reiterate: If these are intended to be “Secret”, probably encrypt them before putting them in the .replit file!

I got an error.

Seems to work for me?

Try running kill 1 in the shell, that’s a weird bug replit has

1 Like

yes you should probably link my topic

1 Like