[파이썬/python] 간단한 메크로 구현 with pyautogui #pyautogui.locateOnScreen - 해당 이미지 좌표 가져오기 #pyautogui.center - 해당 이미지의 중앙 좌표 가져오기 #pyautogui.press - 특정 버튼을 누른다 #pyautogui.moveTo - 특정 좌표로 이동한다 #pyautogui.scroll - 해당 좌표만큼 스크롤링 한다 #pyautogui.click - 마우스 클릭한다 #pyautogui.mouseUp - 마우스 up #pyautogui.mouseDown - 마우스 down import pyautogui as pag from datetime import datetime # 특정 시간에 진입 while True: now = datetim..
![](http://i1.daumcdn.net/thumb/C148x148/?fname=https://blog.kakaocdn.net/dn/bBHvGe/btrL2nWHd2a/k6L0UEFd4KQjPmtKcQRNm1/img.png)
[파이썬/python] Topmost 구현(어플리케이션 최상단으로 가져오기) #타이틀 이름 확인하기 아래 어플을 받아서, 프로세스 이름 확인하기 #정의 def setFocus(title_reg): app = pwa.application.Application() t = title_reg try: handle = pwa.findwindows.find_windows(title_re=t)[0] app.connect(handle=handle) except: window = app.window(handle=handle) try: window.set_focus() except Exception as e: print('[error]setFocuse : ' + str(e)) return window #구현 setFocu..
짧지만 아주 강력한 해결책, conda install -c conda-forge dlib conda install -c conda-forge/label/cf201901 dlib conda install -c conda-forge/label/cf202003 dlib 이걸로 깔끔하게 라이브러리 써보자 #python #windows #dlib #import #파이썬 #아나콘다 #conda #anaconda3 #아나콘다3
[진행 조건] -파이썬(python) 3버전 설치 https://gofogo.tistory.com/7 -pip 설치 https://gofogo.tistory.com/8 -git 설치 추 후 업데이트 예정 [설치] pip install pyttsx3 [현재폴더에서] git clone https://github.com/nateshmbhat/pyttsx3.git . sample.py 생성 [코드구현] import pyttsx3 engine = pyttsx3.init() engine.setProperty('rate', 200) engine.say('무궁화 꽃이 피었습니다') engine.runAndWait() import pyttsx3 - 패키지 설치 engine = pyttsx3.init() - 라이브러리 초..
[1분 해결]파이썬(python) Fatal error in launcher: Unable to create process using 문제원인 -경로 관련된 문제 해결법 -python -m pip [package] -m 옵션을 넣음으로써 해결 [tag] #error #fatal error in launcher #m #-m #m옵션 #m option #path #pip #pip error #pip 에러 #python #unable to create process using #파이썬