kemisten
Posts: 18
Joined: Tue Jan 09, 2018 10:55 am

Make f5 as hotkey to run a python script

Sat Jan 20, 2018 4:49 am

hi i want f5 to run /home/pi/Dropbox-Uploader/cam_test.py
i tried edit a file dont remeber the name but you was told to add some code below <keyboard>
i tried a gui also nothings work. plz help

User avatar
lmarmisa
Posts: 1199
Joined: Thu Feb 14, 2013 2:22 am
Location: Jávea, Spain

Re: Make f5 as hotkey to run a python script

Sat Jan 20, 2018 10:05 am

Take a look at this link:

https://stackoverflow.com/questions/420 ... -a-command

Code: Select all

bind '"^[[15~":"/home/pi/Dropbox-Uploader/cam_test.py\n"'

Return to “Python”

Who is online

Users browsing this forum: paddyg and 19 guests