Giving file path to the button as command in GUI Python
<p>Hi i need to open a python script using GUI. Is that possible to give the file path as command to the button? I tried with the below code, but it is showing  No such file or directory. Please help
Thank you</p>

<pre><code>import xlwt
from Tkinter import *            
from tkFileDialog   
import askopenfilename      

def callback():
    filename = ('C:\python\abc.py')
    execfile(filename)

abc= Button(text='abc', command=callback)
abc.pack()
mainloop()
</code></pre>
