From: Goyo <goy...@gm...> - 2012-04-19 17:22:06
|
El día 19 de abril de 2012 05:31, questions anon <que...@gm...> escribió: > Thank you, I was able to get it to work but only if I imported datetime > within the loop, otherwise I ended up with the > AttributeError: type object 'datetime.datetime' has no attribute 'datetime' > and if I added 'import datetime' at the top of my script it had an error > where I loop through combining each month > " stop_month = datetime(2011, 03, 01) > TypeError: 'module' object is not callable" If you can write a standalone, minimal executable script which reproduces the problem I'll take a look. Send it as an attachement and add sample data files if necessary. Goyo |