Connecting Tech Pros Worldwide Help | Site Map

interface - python - postgresql

Newbie
 
Join Date: Mar 2008
Posts: 1
#1: Mar 13 '08
hi all,

Is there any interface which could return data from postgresql to python as objects so that the features of the resulting data is unchanged. for eg: returning 'date' from postgres to python as 'date' object and not as string.
debasisdas's Avatar
Moderator
 
Join Date: Dec 2006
Location: Bangalore ,India
Posts: 7,500
#2: Mar 18 '08

re: interface - python - postgresql


what is stored in database ?

date as date or as string ?

Try to convert the string to date using inbuilt conversion functions.
Reply