Windows 10 Python 3.8.2 How can I make a python.py file executable when I click on it? It would run on files in the same directory. Python is working through the Windows command line. In Linux it was easy - but I can't figure it out on Windows 10. I couldn't even get answers through Google. A sample script would be great - such as write to text file.