Ask coding questions

← Back to all posts
I cant create .env
holasoyhazi5 (0)

How i can create .env?

Bookie0 (6261)

You can't make .env files anymore, you'll have to use this new GUI by clicking the lock icon in the sidebar (near where the files are kept). Then you just enter the name of a key and its value. And in the repl, you do import os, and my_secret = os.environ['name of your key here']. Good luck! :)

Xenity (9)

.env files were replaced by "Secrets" (the lock icon on the menu bar) so click on that, and you can name your secret and put the value of it.

Coder100 (18123)

.env files have been removed because they were just too confusing -- they aren't actual files!!


With the lock symbol on the left sidebar.