본문 바로가기

분류 전체보기399

[PyQt5] Widgets PyQt5 Tutorial - 파이썬으로 만드는 나만의 GUI 프로그램 https://wikidocs.net/book/2165 초보자를 위한 Python GUI 프로그래밍 - PyQt5 https://study-code.gitbook.io/python-basic/ Real Python https://realpython.com/qt-designer-python/#getting-started-with-qt-designer 사용자 정의 시그널(Custom Signal)과 Emit 사용법 https://ybworld.tistory.com/110 QPushButton import sys from PyQt5.QtWidgets import * from PyQt5.QtCore import * class MyWindow.. 2022. 2. 23.
[PyQt] PyQt Designer Qt는 GUI 프로그램 개발에 널리 쓰이는 크로스 플랫폼 프레임워크, C++프로그래밍 언어 사용 Qt5 설치 디렉토리 : C:\Anaconda3\Lib\site-packages\PyQt5 Qt Designer 실행 파일 : C:\Anaconda3\Library\bin\designer.exe 1. GUI 프로그램 구동 방법 1) GUI 레이아웃 작성 2) 시그널-슬롯 연결 및 슬롯 처리 함수(메서드) 작성 3) 실행 및 이벤트 루프 # PyQt에서는 QApplication 객체에서 exec_ 메서드를 호출해 이벤트 루프를 생성 # 이벤트를 처리할 함수 또는 메서드를 구현 => 슬롯(slot) = 콜백 함수(callback function) import sys from PyQt5.QtWidgets impor.. 2022. 2. 21.
python 패키지 설치 _ setup.py 이용 설치 방법 파일 다운로드하여 설치 : 패키지를 다운로드한 최상위 디렉터리로 이동하여 install 명령을 실행한다. 파일 다운로드 pypi, git에서 다운로드 setup.py 상위 디렉터리로 이동 명령 실행 python setup.py install ----------------------------------------------------------------------------------------------------- git-hub를 이용한 설치 [ 방법1 ] 명령 프롬프트에서 : python -m pip install git+주소 python -m pip install git+https://github.com/pydata/pandas-datareader.git [ 방법2 ] Git Bash.. 2022. 2. 19.