Python date time API
rk
kadambidev at gmail.com
Mon Apr 26 11:21:11 EDT 2010
Hi,
I am python novice, trying to convert a boost::gregorian::date out to
python using PyDateTime C-api interface. I was coring because the C-
API failed to initialize. The error was:
AttributeError: "module" object has not attribute datetime_CAPI
As indicated by the error, a dir(datetime) gives me the following
output.
['MAXYEAR', 'MINYEAR', '__doc__', '__file__', '__name__', 'date',
'datetime', 'time', 'timedelta', 'tzinfo']
I am note sure why datetime_CAPI is missing? I would appreciate any
input.
Regards,
Ramesh
More information about the Python-list
mailing list