[Tutor] How can i dump the DB data into a text file in CSV format

shobhan schalla@vasoftware.com
Tue Dec 31 04:44:02 2002


--------------060705020604050000020005
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hi Pythoners,

Can anyone tell me how to connect to Oracle DB using Python and dump the 
data from a table called "logs" into a text file in CSV format..?
The text file thus created should be of the format (2002-12-30-logs.txt).
It would be fine if anyone can show a sample script.

Thanks in advance
Schalla

--------------060705020604050000020005
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title></title>
</head>
<body>
<font face="Helvetica, foo, sans-serif" size="-1">Hi Pythoners,<br>
<br>
Can anyone tell me how to connect to Oracle DB using Python and dump the
data from a table called "logs" into a text file in CSV format..?<br>
The text file thus created should be of the format (2002-12-30-logs.txt).<br>
It would be fine if anyone can show a sample script.<br>
<br>
Thanks in advance<br>
Schalla</font><br>
</body>
</html>

--------------060705020604050000020005--