Free Python scripts for beginners to professionals. Automation, Data Science, Web Development and more!
The best collection of free Python scripts – Updated daily!
# Warten bis die Seite geladen ist
time.sleep(3)
print("Hallo Welt")
for i in range(5):
print(i)
# Maus in die Bildschirmmitte bewegen
center_x = screen_width // 2
center_y = screen_height // 2
pyautogui.moveTo(center_x, center_y, duration=1)
# 200 Pixel nach oben bewegen
pyautogui.moveRel(0, -200, duration=1)
# Maus in die Bildschirmmitte bewegen
center_x = screen_width // 2
center_y = screen_height // 2
pyautogui.moveTo(center_x, center_y, duration=1)
# 200 Pixel nach oben bewegen
pyautogui.moveRel(0, -200, duration=1)
# Suchtext eingeben
pyautogui.write("was kann python alles", interval=0.05)
# Enter drücken
pyautogui.press("enter")