When you right-click a .py file, you see the "Edit in IDLE" menu and it's enabled. If you then click "Show more options" the menu will be disabled. However, if you shift-right click in the first place then the menu is enabled.