首页 > 其他分享 >[1033] Run the batch file of the PyQt GUI, but don't show the CMD

[1033] Run the batch file of the PyQt GUI, but don't show the CMD

时间:2024-07-16 12:22:08浏览次数:9  
标签:Run show GUI CMD PyQt window file

I built a GUI layout using PyQt, and I run the Python file with a .bat file. However, this method initially displays the CMD window before showing the program's main window, which looks a bit odd. To prevent or minimize the CMD window from appearing, follow these steps:

  • Right-click the .bat file and select Create shortcut
  • Right-click the shortcut and choose Properties 
  • Under the Shortcut tab, change the Run option to Minimized

标签:Run,show,GUI,CMD,PyQt,window,file
From: https://www.cnblogs.com/alex-bn-lee/p/18304905

相关文章