What do you want to save?
Add Code snippet
New code examples
-
Python 2022-02-27 20:35:07
.env files in repl
#in the ".env" file. THIS IS FOR PYTHON TOKEN=38zdJSDF48fKJSD4824fN DB_USERNAME="admin" # defining variables like you'd do in python but secret DB_PASSWORD=w0ws0secure!! #in the "main.py" file import os print(os.getenv(&quo... Add solution -
Python 2022-01-31 15:05:02
always running python script
# in python, you should make a while(True) over the script flag = True while(flag): # Your awesome script goes here print("I'm running forever") # flag is there to have an exit option if needed flag = flase if statement == True else T... Add solution -
Python 2021-10-09 05:03:05
nohup python command for linux
nohup python3.7 main.py & Add solution -
Shell/Bash 2021-10-07 06:22:05
disable assertions python
# Use -O (captial o) flag python -O main.py Add solution
Best helpers
Ranking is empty