python(33)
-
pycharm terminal 가상환결 설정
https://velog.io/@sun007021/pycharm-terminal-%EA%B0%80%EC%83%81%ED%99%98%EA%B2%B0-%EC%84%A4%EC%A0%95 File Encodings > Project Encoding을 UTF-8 Settings -> Editor -> General -> Console -> Default Encoding 설정도 UTF-8
2023.01.30 -
PySide6 QtDesigner use
Create Python GUIs with PySide2 — Simple GUIs to full apps Create Python GUIs with PySide2 -- Simple GUIs to full apps This PySide6 tutorial shows you how to use Python3 and Qt to create GUI apps on Windows, Mac and Linux. Simple GUIs to full applications. Want to create Python GUIs? Here is everything you need to go from simple UIs to complete apps with PySide6. www.pythonguis.com PySide6 is a ..
2023.01.27 -
PySide6
python.exe -m pip install --upgrade pip pip install pyside6 pip install pyqt6-tools C:\Users\?????\AppData\Local\Programs\Python\Python39\Lib\site-packages\qt6_applications\Qt\bin import os import sys from PySide6.QtUiTools import QUiLoader from PySide6.QtWidgets import QApplication, QMessageBox from PySide6.QtCore import QFile, QIODevice if __name__ == "__main__": app = QApplication(sys.argv) d..
2023.01.25 -
[파이썬] GUI (그래픽 인터페이스) 라이브러리 선택
https://showering.tistory.com/150 [파이썬] GUI (그래픽 인터페이스) 라이브러리 선택 시간날때 틈틈히 파이썬을 독학중인데 이제 문법을 대충 끝내고 뭐라도 만들어볼 생각입니다. 문법 후반부를 공부하는사이 초반에 배웠던건 상당수 까먹은듯하지만 문법만 반복하다가는 흥미 showering.tistory.com PyQt https://wikidocs.net/35478 01.01 PyQt란 무엇인가? [TOC] ##PyQt란? PyQt란, Qt의 레이아웃에 Python의 코드를 연결하여 GUI 프로그램을 만들 수 있게 해주는 프레임워크를 의미합니다. PyQt는 C++의 Cr… wikidocs.net
2023.01.25 -
python image program
from PIL import Image # Open an image file with Image.open("original_image.jpg") as im: # Perform image modifications im = im.rotate(45) im = im.resize((400, 400)) # Save the image with a new name im.save("modified_image.jpg") Python에서 이미지 프로그램을 만들려면 PIL(Python Imaging Library)의 포크인 Pillow 라이브러리를 사용할 수 있습니다. 이 라이브러리는 이미지 파일 열기 및 조작, 자르기, 크기 조정 및 이미지 필터 적용과 같은 광범위한 이미지 처리 기능을 제공합니다. 따라야 할 일반적인 단계..
2023.01.25 -
디렉토리 list와 file list
import os path = 'c:/project' dirs = [] files = [] for file in os.listdir(path): if os.path.isfile(os.path.join(path, file)): files.append(file) else: dirs.append(file) print("Directories: ", dirs) print("Files: ", files)
2023.01.25