I tried this, but when I double click the .py file it still opens in the text editor.