importing MySQLdb

2011-12-28 Thread Dilara Ally
Hi All I'm trying to import the MySQLdb for python. I downloaded the proper setuptools egg (ver2.7) for a Mac with OSX10.6 I then downloaded the MySQL-python-1.2.3 and ran the following commands python setup.py build sudo python setup.py install Then to test that the module was properly loa

Re: Excel 2007 Charts with PyWin32

2008-10-14 Thread Ally
Solved. See http://bytes.com/forum/thread482449.html application = Dispatch("Excel.Application") should be application = win32com.client.gencache.EnsureDispatch('Excel.Application') -- http://mail.python.org/mailman/listinfo/python-list

Excel 2007 Charts with PyWin32

2008-10-14 Thread Ally
Hi all, I’m looking to plot charts in Excel from python. After some Googling I’ve found the following code: def plot(x, y, xAxisLog=False, yAxisLog=False): # acquire application object, which may start application application = Dispatch("Excel.Application") # create new file ('Workbo