This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
import random | |
import gym | |
import math | |
import numpy as np | |
from collections import deque | |
from keras.models import Sequential | |
from keras.layers import Dense | |
from keras.optimizers import Adam |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Original code found here https://nitratine.net/blog/post/python-auto-clicker/ | |
# | |
# To run: | |
# Install python: https://www.python.org/downloads/ | |
# On command line: | |
# pip install pynput | |
# python <dir-path>/clicker.py | |
# | |
# Press s key to start/stop | |
# Press e to exit |