본문 바로가기

전체 글99

pywinauto 4 - list select / click 내가 참고했던 List element의 클릭 방법들 공유. https://stackoverflow.com/questions/41112765/pywinauto-and-listitem-selection pywinauto and listitem selection I'm playing around with pywinauto and using it to automate Skype functions on Windows 7. I'm having trouble selecting people from my contact list accurately. The general code to open Skype and stackoverflow.com https://stackoverflow.com/questions/2033162.. 2020. 2. 11.
Pywinauto 3 - Attribute Magic Pywinauto 공식 사이트 내용을 번역한 것입니다. Attribute Resolution Magic 속성 해석 매직 Python simplifies creating window specification by resolving object attributes dynamically. 파이썬은 오브젝트 속성들을 다이나믹하게 사용하면서, window specification을 생성하는 것을 단순화한다. But an attibute name has the same limitations as any variable name: no spaces, commas and other special symbols. 그러나 한 속성이름은 변수이름과 같은 제한을 갖는다. 공간, 콤마나 다른 특별한 심볼 없게 하기. But f.. 2020. 2. 11.
Pywinauto 2 - Window Specification Pywinauto 공식 사이트 내용을 번역한 것입니다. It’s a core concept for the high level pywinauto API. Window specification은 high level pywinauto API를 위한 코어 개념이다. You are able to describe any window or control approximately or in more details even if it doesn’t exist yet or already closed. Window specification also keeps information about matching/search algorithm that will be used to get a real window or control.. 2020. 2. 10.
Pywinauto 1 - Entry Points for Automation Entry Points for Automation So you have an application, you know it supports one of the mentioned accessibility technologies. What’s the next? First you should start your application or connect to an existing app instance. It can be done with an Application object. 먼저, 어플리케이션 오브젝트 인스턴스 만들기. 이미 실행된 app에 connect를 하거나, start로 새로 app실행한다. This is not just a clone of subprocess.Popen, subprocess.Pope.. 2020. 2. 10.
color script 사용 - code 첨부 글쓰기 이전 글의 코드 첨부한 비주얼이 별로인 것 같아서, 다른 깔끔한 방법을 찾아 보았다. color script 라는 사이트를 발견하였다. https://colorscripter.com/ Color Scripter Simple & Flexible Syntax HighLighter colorscripter.com 언어 선택하고 미리 작성했던 코드를 붙여 넣는다. 블로그 글쓰기 모드를 html로 변경하고 붙여넣기를 하면, 아래와 같이 깔끔하게 코딩이 잘보이도록 첨부가 된다. 클립보드로 복사를 사용해봤을 때는 글씨가 약간 어색하게 적용되어서, 나는 html복사 방법을 이용했다. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 2.. 2020. 2. 7.
pywinauto 예제 - 메모장 저장 자동화를 위해서는, 굳이 처음에 새로 프로그램을 실행시키는 것을 반복하는 것 보다는, 실행되어 있는 프로그램에서 계속 무언가 반복하는게 필요할 수 있다. 새로 프로그램 실행 : start() 열려있는 프로그램 인식 : connect() # -*- coding: utf-8 -*- """ Created on Fri Feb 7 22:15:50 2020 @author: kenro """ from pywinauto.application import Application import pywinauto # 열려진 메모장 다이얼로그 창에 컨넥트 함 app = pywinauto.application.Application() # 열려진게 없을때는 Run a target application #app = Applicatio.. 2020. 2. 7.
나의 부동산 투자의 원칙 마누라 말대로 한다! -> 부동산은 여자의 감이 맞을 때가 많음 부동산의 단점 : 1) 개발호재를 일반인이 미리 파악하기 힘들다. 2) 투자금이 많이 들어가서 묶일 수 있다. 3) 매매, 임대 거래시 비용이 든다. 4) 매매가가 오르는 곳과 정체된 곳의 차이가 심하게 있다. 부동산의 장점: 1) 매매가의 하락 폭의 비율과 그 가능성이 많지 않다. 2) 전세금으로 공짜 레버리지효과를 볼 수 있다. 3) 실물자산으로서 인플레이션 방어효과가 있다. 나의 작전: 1. 강남4구를 중심으로 교통망이 연결될 예정이나 호재지역 근처의 아파트를 매수. 2. 전세금을 사용하여 소형아파트 위주로 매수. 3. 경매로 대형평수를 저가에 매수하여 차익을 보고 빠지거나 임대업하기. 4. 전세를 사용하여 투자금을 최소로하고 부동산투.. 2019. 1. 15.
GM volt EREV Gen1 내가 개발한 BMS(Battery Management System)이 장착된 1세대 Volt EREV자동자. 2019. 1. 15.
나의 주식 투자 원칙 모든 실물 자산은 물가상승률에 의하여 올라간다. 예금을 해놔도 금리만큼 자산이 늘어난다. 세계의 모든 부동산, 주식은 평균적으로 지속적인 상승해왔다. 각 부동산, 주식에 따라 오르는 격차가 달랐을 뿐이다. 주식에서는 상장폐지된 것과 대장주가 된 것. 부동산에서는 강북과 강남의 차이 정도 될 것이다. 산업 자체가 망하지 않은 1등기업이 상장폐지된 적은 없고, 한국 부동산 대장주라고 할 수 있는 강남땅이 전국에서 가장 싼 적은 없다. 그래서 나의 전략은 주식에서는 대장주에 붙어가며, 부동산에서 강남4구에 접근성을 갖는 곳 위주로 매수하는 것과 같은 이치이다. 주식의 단점: 주식은 일반인의 정보력이 부족할 수 밖에 없다. 그래서 미리 호재를 파악하여 오를 주식을 선택할 수 없다. 주식의 장점: 저가로 매수 가.. 2019. 1. 14.