Hey everyone, im doing a application, with some graphics in it and stuff nice in there, and to be honest is almost done. But when i run my program, a black window appears, just behind my program, its like a command prompt and what i would like to do is take it off, because it doesnt look good.
I dont even know where to start from, any ideas would be appreciated. Thanks guys, very much.

Recommended Answers

All 3 Replies

If you're with windows, you should probably simply rename your main program with the extension .pyw instead of .py .

Its working as i want now, but when i made it an executable, the command prompt was back again. what should i do now??

Thanks.

Use pythonw.exe to run your GUI programs, it avoids the console screen.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.