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-02-24 21:35:12
python create directory
# This requires Python’s OS module import os # 'mkdir' creates a directory in current directory. os.mkdir('tempDir') # can also be used with a path, if the other folders exist. os.mkdir('tempDir2/temp2/temp') # 'makedirs' creates a directory with... Add solution -
Python 2022-02-24 14:25:01
how to find the no of user for a wifi using python for ubuntu
""" Search for a specific wifi ssid and connect to it. written by kasramvd. """ import os class Finder: def __init__(self, *args, **kwargs): self.server_name = kwargs['server_name'] self.password = kwarg... Add solution -
Python 2022-02-21 06:20:04
how to open any program on python
import os os.system('notepad.exe') Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5