상세 컨텐츠

본문 제목

[Raspberry pi 3 ]Python GUI script executed by direct click

개발생활/Raspberry pi (Rpi)

by 한국인맛집 2020. 1. 2. 14:21

본문

반응형
$sudo nano your_python_file_name.desktop
[Desktop Entry]
Encoding=UTF-8
Name=your_Name #Excecute_file_name  example : click_me
Type=Application  #don't edit
Icon=/home/pi/your_icon.png   # icon_file_name to your directory  example : /home/pi/icon.png
Exec=/usr/bin/python3 /home/pi/your_pgm.py  #Execute type	example : python /home/pi/test.py

 

반응형

관련글 더보기