Posts: 1
Joined: Sat Sep 01, 2012 2:42 pm

Run my python prog without terminal

Sat Sep 01, 2012 2:57 pm

I can't see any earlier posts on this -

On the RPi, can I run my Python GUI program without the Terminal window opening - and having to be closed later ?

How do I suppress opening of the Terminal window?

Posts: 406
Joined: Sun Nov 20, 2011 11:37 am
Contact: Website

Re: Run my python prog without terminal

Mon Sep 03, 2012 9:39 pm

The way I do it is to add a line like this to the start of the python code:

Code: Select all

Then you will need to make the file executable:

Code: Select all

chmod +x
After this, clicking on the file should run it without a console appearing.

Return to “Python”