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.
python and mac issues
- poiuy_qwert
- Posts: 548
- Joined: Sun Jan 13, 2008 2:14 am [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
- poiuy_qwert
- Posts: 548
- Joined: Sun Jan 13, 2008 2:14 am [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Return to “PyMS (poiuy_qwert's complete modding suite)”
Who is online
Users browsing this forum: No registered users and 0 guests