|
Hi, I'm trying to run a python program on Mac.It was originally written on Windows environment. Everytime I try to run it from Mac, I get the following error : Traceback (most recent call last): File "/Users/Chandrima/MSD4.py", line 149, in <module> ifile = tkFileDialog.askopenfilename(title="Select File with X Y Gauss Fit",filetypes=[('Text file','*FULL.txt'),('Text file','*.txt'),('All','*')],initialdir="C:") File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk/tkFileDialog.py", line 125, in askopenfilename File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk/tkCommonDialog.py", line 48, in show TclError: bad directory "C:"
Any help to solve this problem will be greatly appreciated.
|