본문 바로가기
반응형
[C#] Kiwoom 로그인 수동 제어 로그인 창을 수동 제어 하기 위해 필요한 함수들. using System.Runtime.InteropServices; using System.Threading; [DllImport("user32.dll")] public static extern IntPtr FindWindow(string lpClassName, string lpWindowName); [DllImport("user32.dll")] public static extern int findWindowEx(int hWnd1, int hWnd2, string lpsz1, string lpsz2); [DllImport("User32.dll")] public static extern int SendMessage(IntPtr hWnd, int uMsg, .. 2022. 9. 13.
[PYTHON] QT UI 디자인 및 연결 하기 1. QT Designer 를 이용하여 UI 를 설계 합니다. 아래와 같이 설계를 하고 login 버튼에 btnLogin 이라는 이름을 주었습니다. 2. py 에 QT UI 파일을 링크 하고 클래스를 정의해 줍니다. 3. 이벤트 등록을 하고 이벤트 함수 처리를 수행합니다. from pykiwoom.kiwoom import * from time import sleep # QT UI 를 위해서 라이브러리를 열어 준다. from PyQt5.QtWidgets import * from PyQt5 import uic # UI 파일을 연결한다. cls_dlg_main = uic.loadUiType("./dlg_main.ui")[0] class MainClass(QMainWindow, cls_dlg_main): def.. 2022. 9. 8.
ModuleNotFoundError: No module named 'openpyxl' pip install openpyxl 2022. 9. 7.
ModuleNotFoundError: No module named 'pythoncom' pyCharm 인 경우 하단 terminal 창을 열고 아래와 같이 입력하면 된다. pip install pywin32 2022. 9. 6.
ModuleNotFoundError: No module named 'PyQt5.sip' pyCharm 인 경우 하단 terminal 창을 열고 아래와 같이 입력하면 된다. pip install pyqt5==5.13 2022. 9. 5.
반응형