'Make python script window pop up in Windows 10

I've made a simple python script that is activated by a MS Word macro, and requires user input.

When I run it, it opens a command line window that I must maximise from the menu line in Win 10.

Is there any way to make that window pop up automatically?

I found an alternative solution: instead of activating the script from a Word macro, I made a .bat file that activates the script, made a shortcut to the .bat file on the desktop, and made assigned global shortcut keys to the shortcut. This way I can acrivate the script while in any windows program, and the program window pops up as desired.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source