I have two python scripts. One contains a small pop-up and another controls the first script. The first needs to be in the background too. Therefore I have made a .pyw
.pyw