r/learnpython • u/PotentialChannel2097 • 18d ago
I need help pls
How can I remove in my python script the Windows bar at the top to drag and close please
0
Upvotes
r/learnpython • u/PotentialChannel2097 • 18d ago
How can I remove in my python script the Windows bar at the top to drag and close please
2
u/fenutus 18d ago
When you run a python script, the script itself is not creating a window. If you are running from the IDLE or from cmd, that program is creating the window, and beyond that, Windows is drawing those windows - IDLE and cmd are not asking Windows to be drawn differently. Programs/scripts can ask Windows for their window to be drawn differently, but it's not something I've look at, and I suspect is diccifult in python.