code_scott2010의 등록된 링크

키자드에 등록된 총 1개의 포스트를 확인하실 수 있습니다.

Naver Blog

python으로 CLI 기반의 그림판 만들기

오늘은 python을 이용하여 명령 줄 그림판을 제작했다. import os import time as t global size,x,y,sym,brush print('CLI Paint! v1.0-beta [for windows]') #일부 명령어는 windows에서만 작동한다. try: import keyboard #keyboard 모듈 불러오기를 시도 except: print('Installing keyboard library on computer...') #모듈 불러오기에 실패하면 모듈 설치 os.system('pip install keyboard') try: import keyboard print('Successfully installed! Please restart the program.') except: print("Can't install keyboard module... please check python pip.") #pip이 windows 환경변수에 등록되지 않았다면

1