Skip to content

Instantly share code, notes, and snippets.

Avatar

wonsolution.kr wonsolution

  • korea, a-san
View GitHub Profile
View dafont_href scraping
from urllib.request import urlopen
from urllib.parse import quote_plus
from bs4 import BeautifulSoup
from selenium import webdriver
import time
#dafont에서 폰트 url가져오기
n=1
while 1:
View daangn market Crawling(BeautifulSoup)
...
pip install requests beautifulsoup4 lxml
...
import requests
from bs4 import BeautifulSoup
import time
keyword = '믹서기'
View Python macro color recognition
-------------pyautogui이용(screenShot)
def rgbColor():
black=(0, 0, 0)
red=(237, 28, 36)
green=(34, 177, 76)
blue=(63, 72, 204)
white=(255, 255, 255)
View Making Shortcuts Using Python
import pyautogui as ag
import keyboard
import time
mpos_list=[]
while True:
while True:
if keyboard.is_pressed('F3'):
mpos = ag.position()
mpos_list.append(mpos)
View Python Macro ticketing
import pyautogui, sys
from time import sleep
import pyperclip
import cv2
import numpy as np
pyautogui.click(808,1420)
sleep(1)
print('창 열기')
View Python autotyping code
import pyautogui, sys
from time import sleep
import pyperclip
pyautogui.click(100,500)
//------------------한 음절씩 입력하는 코드
pyperclip.copy("안")
pyautogui.hotkey("ctrl","v")
View gist:2137ebb05ac34189bc60409df6a8f8ae
#install 한 pyautogui import하기
import pyautogui, sys
#마우스 커서 이동할 위치 좌표 : pyautogui.moveTo(x축, y축, 이동시간)
pyautogui.moveTo(1206,189,1)
#마우스 클릭하기
#pyautogui.click()