Skip to content

Instantly share code, notes, and snippets.

@guanhuamai
guanhuamai / ClickPics.py
Last active Mar 14, 2017
AutoClicker.py
View ClickPics.py
from selenium import webdriver
from selenium.webdriver.common.action_chains import *
import time
"""
usage: hehe ni dong de
dependence: selenium(an api), chromedriver(an app)
install selenium with: pip install -i https://pypi.douban.com/simple selenium
download chromedriver.exe latest version in: http://chromedriver.storage.googleapis.com/index.html?path=2.24/
coded by mgh....
View Draw.py
import re
import matplotlib.pyplot as plt
import numpy as np
class ResultReader:
def __init__(self):
self.lines = list()
self.op = ""
self.dataName = ""