logo-MindMajix
PostPythonPython
s
sri kanth

Posted on 25th July 2024|343 views

0
votes

Python Hide Console

How can I hide the console window in python?

1 answers
Answers
P
Sowjanya Kodiganti

Posted on 25th July 2024| views

On BSD, Unix, Linux, macOS Systems:

Utilize nohup mypythonprog &, also you can close that terminal window without disturbing this process. You can likewise run exit if you are running within that cloud also don't need to leave any hanging shell process.

On Windows System:

Save your program by a .pyw extension plus soon that will open by pythonw.exe. No shell window.

For instance, if you own foo.py, you require to rename that to foo.pyw.

 

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo

  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos
Name
Course *
Email *
Phone Number