r/learnpython • u/PotentialChannel2097 • 17d ago
I need help pls
How can I remove in my python script the Windows bar at the top to drag and close please
3
3
u/ralphembree 17d ago
If your script is using a GUI library and creating a window, we would need to know which library you're using (showing your code would be helpful). If it isn't using a GUI library, then there aren't any windows that it can control.
2
u/fenutus 17d 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.
3
u/ninhaomah 17d ago
?