Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How do I make these line of codes into a double click desktop icon for simplicity.
So far I have to write the first line then hit enter and then write the second line

cd /home/pi/git/TouchSelfie/scripts
python ./photobooth_gui.py

What I have tried:

I do not know much really about python and I was following a raspberry pi tutorial
Posted
Updated 8-Jan-18 3:01am
Comments
Richard MacCutchan 8-Jan-18 4:55am    
You should be able to double click the photobooth_gui.py file if you have installed python correctly.

1 solution

If those are valid commands you can just put them into a text file and use the extension .bat to make a batch file or .cmd to make a command file. Then double-clicking it will execute both lines.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900