problem with import in python 2.2.3

Anthony Irwin nospam at noemailhere.nowhere
Wed May 16 23:37:26 EDT 2007


Hi,

I have written a python script that works perfectly in python 2.4.4 
and python 2.4.3 but when I try to use the same script on an older 
system with python 2.2.3 I get the following error.

./backup_all_mysql_databases.py
Traceback (most recent call last):
   File "./backup_all_mysql_databases.py", line 5, in ?
     from datetime import date
ImportError: No module named datetime

Does anyone know why the datetime module is not being found in python 
2.2.3 and how I can make the script work in the older version of python?

-- 
Kind Regards,
Anthony Irwin

http://www.irwinresources.com
http://www.makehomebusiness.com
email: anthony at above domains, - www.



More information about the Python-list mailing list