Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

Is there any way to hide python shell while using a tkinter window or turtle window? While opening py file by clicking the py shell shows every time but I don't need it.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

Start your Python program using pythonw.exe instead of python.exe. This is specifically designed for this.

share|improve this answer
    
I did not know this. mind = blown. –  Games Brainiac Oct 30 '13 at 10:10
    
but how to stop quitting app so immediately? –  Hamid FzM Nov 1 '13 at 21:46
    
@HamidFzM You mean how to prevent it from returning from the call immediately while running the program? Sorry, don't know... –  glglgl Nov 1 '13 at 21:48
    
Yes, for example in consul program we put input() and program stops but in this case if we use it we expect a big error!! –  Hamid FzM Nov 1 '13 at 21:58

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.