Is there a difference between python <script>.pyw and pythonw <script>.py?

Mike Dewhirst miked at dewhirst.com.au
Sun Apr 5 21:18:45 EDT 2020


On 6/04/2020 8:35 am, Malcolm Greene wrote:
> Is there a difference between the following 2 ways to launch a console-less script under Windows?
>
> python <script>.pyw
> pythonw <script>.py

I can't answer that but I can say that I schedule my local machine 
backup with a python script. The only way I could get it working 
reliably was fully specified ...

C:\Python37\python.exe\python.exe C:\Users\mike\utils\backup.py

Mike

>
> Thanks,
> Malcolm



More information about the Python-list mailing list