By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,089 Members | 2,418 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,089 IT Pros & Developers. It's quick & easy.

Any Good tools to create CSV Files?

P: n/a
Any Good tools to create CSV Files? ReportLab only creates pdf
files. I need something to create CSV files.

Thank you.

Apr 29 '07 #1
Share this Question
Share on Google+
7 Replies


P: n/a
johnny <ra*******@gmail.comwrote:
Any Good tools to create CSV Files? ReportLab only creates pdf
files. I need something to create CSV files.
<http://docs.python.org/lib/module-csv.html>
Alex
Apr 29 '07 #2

P: n/a
On Sat, 2007-04-28 at 18:55 -0700, johnny wrote:
Any Good tools to create CSV Files? ReportLab only creates pdf
files. I need something to create CSV files.
You mean something like the csv module that is part of Python's standard
library?
>>import csv
help(csv)
Help on module csv:

NAME
csv - CSV parsing and writing.

FILE
/usr/lib/python2.4/csv.py

MODULE DOCS
http://www.python.org/doc/current/lib/module-csv.html

DESCRIPTION
This module provides classes that assist in the reading and writing
of Comma Separated Value (CSV) files [...]

-Carsten
Apr 29 '07 #3

P: n/a
Carsten Haese wrote:
You mean something like the csv module that is part of Python's standard
library?
>>>import csv
help(csv)
You have to admit, the module name is not really intuitive... :)
Apr 29 '07 #4

P: n/a
In article <ma***************************************@python. org>,
Carsten Haese <ca*****@uniqsys.comwrote:
>On Sat, 2007-04-28 at 18:55 -0700, johnny wrote:
>>
Any Good tools to create CSV Files? ReportLab only creates pdf
files. I need something to create CSV files.

You mean something like the csv module that is part of Python's standard
library?
>>>import csv
In all fairness, the csv module is new in Python 2.3, and I'm sure I'm
not the only person still using Python 2.2 for production.
--
Aahz (aa**@pythoncraft.com) <* http://www.pythoncraft.com/

"...string iteration isn't about treating strings as sequences of strings,
it's about treating strings as sequences of characters. The fact that
characters are also strings is the reason we have problems, but characters
are strings for other good reasons." --Aahz
Apr 29 '07 #5

P: n/a
Aahz wrote:
In all fairness, the csv module is new in Python 2.3, and I'm sure I'm
not the only person still using Python 2.2 for production.
That is true, on the other hand, Reportlab is made for at least Python
2.4, "although it will work with 2.3" - so he has 2.3 at least :)
Apr 29 '07 #6

P: n/a
On 30/04/2007 6:29 AM, Aahz wrote:
In article <ma***************************************@python. org>,
Carsten Haese <ca*****@uniqsys.comwrote:
>On Sat, 2007-04-28 at 18:55 -0700, johnny wrote:
>>Any Good tools to create CSV Files? ReportLab only creates pdf
files. I need something to create CSV files.
You mean something like the csv module that is part of Python's standard
library?
>>>>import csv

In all fairness, the csv module is new in Python 2.3, and I'm sure I'm
not the only person still using Python 2.2 for production.
In all fairness to those making ironic comments, the OP has given no
indication that he is bound to an old version of Python.

The Object-Craft csv extension module (ancestor of the Python csv
module) has been available since October 2000. It still shows up in
Google [it's the 3rd result if one searches for "python csv"] and has
the source available for download -- there are even Windows binaries
(.pyd) for Python 2.1 and 2.2.

In all fairness to the OP, perhaps he has never heard of search engines,
or perhaps he has no ARPA^H^H^H^HInternet access.
Apr 30 '07 #7

P: n/a
In article <l8***************@newsfe12.lga>,
Bart Willems <b.*********@gmail.comwrote:
>Aahz wrote:
>>
In all fairness, the csv module is new in Python 2.3, and I'm sure I'm
not the only person still using Python 2.2 for production.

That is true, on the other hand, Reportlab is made for at least Python
2.4, "although it will work with 2.3" - so he has 2.3 at least :)
I've been using ReportLab since the 2.1 days, if not farther back.
--
Aahz (aa**@pythoncraft.com) <* http://www.pythoncraft.com/

"Look, it's your affair if you want to play with five people, but don't
go calling it doubles." --John Cleese anticipates Usenet
Apr 30 '07 #8

This discussion thread is closed

Replies have been disabled for this discussion.