title: How can i open this python file with double click?
body: <p>There are some files that open with double click . But not this one . I want to open it with double click . it has the following code written inside it:</p>
  
  <pre><code>from tkinter import*
  tk=Tk()
  tk.title("App Manager")
  tk.resizable(0,0)
  tk.wm_attributes("-topmost",1)
  canvas=Canvas(tk,width=460,height=500,bg='black',bd=0,highlightthickness=0)
  canvas.pack()
  tk.update()
  def pong():
      tk.destroy()
      import PONG
  def bounce():
      tk.destroy()
      import BOUNCE
  def calculator():
      import CALCULATOR
  def quit1():
      tk.destroy()
  b1=Button(tk,text="Play PONG",font= ('Bold',15),bg='brown',fg='gold',command=pong)
  b1.pack(side=LEFT)
  b2=Button(tk,text="Play BOUNCE",font=('Bold',15),bg='brown',fg='gold',command=bounce)
  b2.pack(side=LEFT)
  b3=Button(tk,text="CALCULATOR",font=('Bold',15),bg='brown',fg='gold')
  b3.pack(side=LEFT)
  b4=Button(tk,text="Quit",font=('Bold',15),bg='brown',fg='gold',command=quit1)
  b4.pack(side=RIGHT)
  </code></pre>