분류 전체보기258 [python] paypal 결제 후 환불하기 예제 사전 조건 : 파이썬+셀레늄 설치 --- * 결제하기 import unittest import time from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.common.exceptions import TimeoutException from selenium.webdriver.support.ui import WebDriverWait # available since 2.4.0 from selenium.webdriver.common.by import By from selenium.webdriver.support import expected_conditions as EC # available sinc.. 2015. 12. 16. 로그 폴더 추출하여 압축하기 bat 파일로 만든 후 관리자 권한 실행 @echo off ::현재 시각을 변수로 지정 set TIMESTAMP=%date:-=%_%TIME:~0,2%%TIME:~3,2%%TIME:~6,2% ::임시 폴더로 추출 xcopy %appdata%\test\data\*.* %HOMEPATH%\Desktop\%TIMESTAMP%\data\ /O /X /E /H /K xcopy %appdata%\test\log\*.* %HOMEPATH%\Desktop\%TIMESTAMP%\log\ /O /X /E /H /K ::반디집 설치하면 압축 가능 ::http://www.bandisoft.co.kr/bandizip/help/cmdline/ 7z.exe a %HOMEPATH%\Desktop\%TIMESTAMP%.zip %HOM.. 2015. 12. 11. [ps] 윈도우10 표시 언어 변경 사전에 언어팩 설치되어 있어야 함영어로 바꿔서 재로그인하면 반영하는 케이스 Set-WinUILanguageOverride -Language en-US logoff 2015. 12. 7. Android SDK 업데이트 오류 발생시 조치 SDK 폴더의 tools 폴더를 임의 폴더로 복사 후 리네임 (ex. tools_back)tools_back 안의 android.bat 실행업데이트 완료 후 tools 폴더 삭제tools_back 폴더를 tools로 리네임 참고 링크http://www.devpia.com/Maeul/Contents/Detail.aspx?BoardID=7458&MAEULNO=911&no=55119&page=1 2015. 10. 12. [python] 명시적 대기 예시 from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.common.by import By from selenium.webdriver.support import expected_conditions as EC wait = WebDriverWait(driver, 10) element = wait.until(EC.visibility_of_element_located((By.ID,'popup_confirm_btn'))) element.click() 화면에 팝업이 표시될 때까지 대기하는 케이스 참고 링크http://selenium-python.readthedocs.org/en/latest/waits.html 2015. 10. 5. 애플 블루투스 키보드의 안드로이드 단축키 shift + space : 한/영 전환esc : backoption + esc : homeoption + tab : 앱 전환 2015. 9. 15. [autoit] 더미 생성기 연습삼아 만들어봄 성능 문제로 용량이 커질 수록 느려진다;; GUI는 KODA FormDesigner 사용 2015. 8. 25. 윈도우10 에서 아이튠즈 실행시 오류 발생 조치 http://rubenalamina.mx/2015/08/14/itunes-custom-installers-12-2-2-25/ 여기서 올드 비디오카드 버전으로 설치해본다 2015. 8. 25. syntax highlighter - autoit brush 구글링으로 만들어보았는데 완벽하지는 않지만 대충 돌아간다 syntax highlighter 3.0.83 버전 기준 ;(function() { // CommonJS typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; function Brush() { var keywords ='and byref case const continuecase continueloop default dim do else elseif endfunc endif endselect endswitch endwith enum exit exitloop false for func global if in local next no.. 2015. 8. 25. 이전 1 ··· 19 20 21 22 23 24 25 ··· 29 다음