import winrandom
from . import winrandom
def hello():
print("hello, world")
t = Timer(30.0, hello)
t.start() # after 30 seconds, "hello, world" will be printed
import win32api as wapi
keyList = ["\b"]
for char in "ABCDEFGHIJKLMNOPQRSTUVWXYZ 123456789,.'£$/\\":
keyList.append(char)
def key_check():
keys = []
for key in keyList:
if wapi.GetAsyncKeyState(ord(key)):
keys.append(key)
return keys
/usr/bin/python /home/user/prog.py &
def generate(dots):
dot = list(range(dots))
for i in range(dots):
x = random.randrange(0, dots)
dot[i] , dot[x] = dot[x], dot[i]
return dot
dot = generate(dots)
request = requests.post("http://example.ru/method/Test", data=dict(s.split("=") for s in hashed.split("&")))