Hello,
It seems that your .py files are associated with Notepad. To remove this association, you need to open the Windows registry, and go to the following key:
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.py
There, you should find a key named "UserChoice", which you need to delete.
Try this and if it still doesn't work, we'll investigate the issue further.