datetime to timestamp

2006-08-11 Thread Simen Haugen
Hi. How can I convert a python datetime to a timestamp? It's easy to convert a timestamp to datetime (datetime.datetime.fromtimestamp(), but the other way around...?) -Simen -- http://mail.python.org/mailman/listinfo/python-list

Re: MySql -python 1.2.1_p2 and visual c++ toolkit

2006-04-17 Thread simen . haugen
I tried mxODBC now, and it worked out of the box. Thanks for the tip! -- http://mail.python.org/mailman/listinfo/python-list

MySql -python 1.2.1_p2 and visual c++ toolkit

2006-04-17 Thread simen . haugen
Hi. I'm trying to use Python 2.4 with MySql 5.0, but I'm having installation problems. I've tried to follow the following articles to install mysql-python with the free visual c++ toolkit http://mail.python.org/pipermail/python-list/2004-December/255184.html http://www.vrplumber.com/programming/m