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 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) |
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 pyautogui, sys | |
from time import sleep | |
import pyperclip | |
import cv2 | |
import numpy as np | |
pyautogui.click(808,1420) | |
sleep(1) | |
print('창 열기') |
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
... | |
pip install requests beautifulsoup4 lxml | |
... | |
import requests | |
from bs4 import BeautifulSoup | |
import time | |
keyword = '믹서기' |
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
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: |
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
-------------pyautogui이용(screenShot) | |
def rgbColor(): | |
black=(0, 0, 0) | |
red=(237, 28, 36) | |
green=(34, 177, 76) | |
blue=(63, 72, 204) | |
white=(255, 255, 255) | |
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
#install 한 pyautogui import하기 | |
import pyautogui, sys | |
#마우스 커서 이동할 위치 좌표 : pyautogui.moveTo(x축, y축, 이동시간) | |
pyautogui.moveTo(1206,189,1) | |
#마우스 클릭하기 | |
#pyautogui.click() |
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 pyautogui, sys | |
from time import sleep | |
import pyperclip | |
pyautogui.click(100,500) | |
//------------------한 음절씩 입력하는 코드 | |
pyperclip.copy("안") | |
pyautogui.hotkey("ctrl","v") |