놀아보자 30

pop sign 테스트

환경설정 : https://the-stella.tistory.com/1?category=997592 Arduino 아두이노 64x32 매트릭스 LED (세팅) 64x32 매트릭스 LED? 64x32 매트릭스 LED는 LED를 64x32 개의 격자형으로 구성해 놓은 디스플레이 장치입니다. 가로와 세로에 각각 신호를 주어 해당하는 LED 를 점등하며, 2,048개의 LED들을 이용하여 다향 the-stella.tistory.com 아두이노 스케치 보드매니저 URLs추가 : https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json 라이브러리(64x32) : https://github.com/iot..

파일명 변경

파일명에서 쉼표 구분자를 기준으로 이름과 연도 위치 바꾸기 import os curr_dir = "C:/Users/user/Desktop/test" for (path, dir, files) in os.walk(curr_dir): for filename in files: ext = os.path.splitext(filename)[-1] if ext == '.pdf': print("%s/%s" % (path, filename)) #경로와 파일명 보여주기 #print(filename) #파일명만 보여주기 splitfilename = filename.split(',') #이름과 연도이하 분리 # print(splitfilename) rename01 = splitfilename[1] #연도이하 부분만 추출 # p..

QT designer

파이썬에서 GUI를 도와주는 프로그램 PySide6 설치 ==> pip install PySide6 pip 업그레이드가 필요하다는 경고시 ==> python -m pip install pip -U QT designer 실행 ==> pyside6-designer 파이썬 파일로 변환하기 1. 파일 경로로 이동 후 변환 ==> pyside6-uic filename.ui 콘솔에서 제대로 변환되는지 확인하기. 파일로 바로 저장하면 ui 파일명에 오타가 있을 경우 오류 발생이 아닌 쓰레기 파일이 만들어지기 때문에 변환 된 코드 확인 후 py 파일로 저장 ==> pyside6-uic filename.ui > filename.py

인공지능 공부를 위한 환경 구축

파이썬 코딩을 위한 에디터로 비주얼스튜디오코드 설치 깔끔한 하이라이트가 내 스타일 https://code.visualstudio.com/ Visual Studio Code - Code Editing. Redefined Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications. Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows. code.visualstudio.com Extensions 파이썬 설치 git 설치 https://git..