Change the file type by selecting the desired format in the application settings or using the appropriate menu option.
Change the file type by selecting the desired format in the application settings or using the appropriate menu option.
Open the file explorer, right-click a file, select properties. Change the type to "Python file (.py)" instead of the default.
Click the file, open it, then select another application. Next, check the box labeled 'Always use this to open .py files' and pick your preferred program.