Grokbase Groups Python csv
FAQ

Search Discussions

176 discussions - 711 posts

  • Hello everybody, currently I've got a task of converting ~9500 CSV files to RDF (corpus extracted from publicdata.eu portal) and I use python csv module to extract headers from csv file. I tried to ...
    Ivan ErmilovIvan Ermilov
    Dec 5, 2012 at 11:40 pm
    Dec 22, 2012 at 4:22 am
  • I have a feature request, and I hope this is the appropriate place to propose it. Currently there is no way (that I can figure out) for csv to create a file that looks like this: ...
    Donovan EastmanDonovan Eastman
    Aug 20, 2011 at 12:38 am
    Aug 22, 2011 at 7:16 pm
  • Hi Skip Finding my way around. I did not know how to assign the bug report to you (admin function?) but it is created. Tony An HTML attachment was scrubbed... URL: ...
    Tony WallaceTony Wallace
    Mar 9, 2011 at 10:34 pm
    Mar 9, 2011 at 10:41 pm
  • Hi all Thanks for all the great work you guys do. It is really appreciated. I have just been looking at the csv module and I noted the following comment in the preamble... There is no ?CSV standard?, ...
    Tony WallaceTony Wallace
    Mar 2, 2011 at 9:12 pm
    Mar 9, 2011 at 1:33 pm
  • Hi, I am trying to read a CSV file from memory. Basically, what I am trying to do is - I am downloading a CSV file from a web site, and trying to parse it through CSV module, without saving it to ...
    Pitam MitraPitam Mitra
    Aug 31, 2010 at 12:59 am
    Aug 31, 2010 at 1:49 am
  • Hi, I am new to Python and I am trying to use the CSV module to import a dataset as a dictionary data structure. The reason I am doing this, is to find similarities between instances of my dataset ...
    Guido DavidzonGuido Davidzon
    Jul 29, 2009 at 9:11 pm
    Jul 29, 2009 at 10:39 pm
  • I just opened a new issue about the binary mode problem with next(): http://bugs.python.org/issue5455 Skip
    SkipSkip
    Mar 9, 2009 at 2:49 am
    Mar 9, 2009 at 1:20 pm
  • -Reader objects (:class:`DictReader` instances and objects returned by the -:func:`reader` function) have the following public methods: - - -.. method:: csvreader.next() - - Return the next row of ...
    Jervis WhitleyJervis Whitley
    Mar 8, 2009 at 11:00 pm
    Mar 9, 2009 at 2:37 am
  • Subscribers to this list might want to acquaint themselves with this currently active issue in the Python tracker: http://bugs.python.org/issue1818 It's a proposal to add a named tuple reader to the ...
    SkipSkip
    Mar 8, 2009 at 7:20 pm
    Mar 8, 2009 at 7:20 pm
  • Hello python csv gurus! I use the csv module pretty heavily in http://code.google.com/p/googletransitdatafeed/source/browse/trunk/python/transitfeed.pyand someone recently complained that it doesn't ...
    Tom BrownTom Brown
    Oct 18, 2008 at 11:15 pm
    Oct 21, 2008 at 11:03 am
  • // I AM NOT ABLE TO READ SECOND LINE. ALLWAYS OVERDING FIRST LINE ONLY. PLEASE HELP ME IN THIS public class Test { public static void main(String args[]){ String fileName="C:\\Documents and ...
    Kotaiah katragaddaKotaiah katragadda
    Jul 19, 2008 at 1:12 pm
    Jul 21, 2008 at 2:34 am
  • I decided it would be worthwhile to have a csv module written in Python (no C underpinnings) for a number of reasons: * It will probably be easier to add Unicode support to a Python version * More ...
    SkipSkip
    Mar 12, 2007 at 2:01 am
    Mar 14, 2007 at 11:11 am
  • I believe with the help of Brad Knowles the csv mailing list has been migrated, intact, to mail.python.org. The new list address is csv at python.org The new listinfo page is ...
    SkipSkip
    Sep 24, 2006 at 12:21 pm
    Sep 30, 2006 at 3:44 pm
  • I just checked in a change to csv.py (svn revision 41849). Previously, the sniffer returned "a" as the delimiter for this sample a|b|c\r\nd|e|f\r\n Now it correctly returns "|", but I don't know if ...
    SkipSkip
    Dec 30, 2005 at 5:19 am
    Dec 30, 2005 at 5:19 am
  • In this bug report: http://python.org/sf/1157169 Neil Schemenauer reports a problem with this code: Traceback (most recent call last): File "<stdin ", line 1, in ? TypeError: bad argument type for ...
    SkipSkip
    Dec 28, 2005 at 4:15 pm
    Dec 29, 2005 at 1:32 pm
  • Dear csv maintainer, I am uncertain if this is the correct place for a RFE, please point me to an appropriate place if not. I felt it would be safer to annoy one person rather than an entire ...
    Paul brianPaul brian
    Sep 30, 2005 at 8:53 am
    Oct 7, 2005 at 8:54 pm
  • When I try to open a csv file from a website, the option to "open this file from its currebt location" is grayed out forcing me to download it to my hard drive in order to view it. Please help. ...
    Ndiaye, MoeNdiaye, Moe
    Sep 29, 2005 at 8:06 pm
    Oct 6, 2005 at 2:21 am
  • I need to create a csv file from the Apple Mail Address book, so as to export it to Xcel, or import it?, so as to transfer my addresses db to gmail. I know there is a little utility that does it, but ...
    Julia Braun KesslerJulia Braun Kessler
    Aug 1, 2005 at 12:00 am
    Aug 2, 2005 at 3:08 am
  • Iain Haslam submitted a patch for the _csv module to implement comment characters for CSV files: http://python.org/sf/1225769 Basically, you could define a comment character, which, if it appeared in ...
    Skip MontanaroSkip Montanaro
    Jun 26, 2005 at 6:10 pm
    Jun 27, 2005 at 9:12 pm
  • Mike Meyer posted the following reference on c.l.py last night: http://www.ietf.org/internet-drafts/draft-shafranovich-mime-csv-05.txt Thought I'd pass it along as an FYI and to record it in our list ...
    Skip MontanaroSkip Montanaro
    May 12, 2005 at 2:36 pm
    May 12, 2005 at 4:07 pm
  • I added UnicodeReader and UnicodeWriter example classes to the csv module docs just now. They mention problems with ASCII NUL characters (which I vaguely remember - NUL-terminated strings are used ...
    Skip MontanaroSkip Montanaro
    Mar 18, 2005 at 5:06 pm
    Mar 20, 2005 at 11:28 pm
  • Chris the current csv module cannot handle unicode the docs say, is Chris there any workaround or is unicode support planned for the near Chris future? Skip True, it can't. Hmmm... I think the ...
    Skip MontanaroSkip Montanaro
    Mar 12, 2005 at 5:25 am
    Mar 12, 2005 at 5:25 am
  • I believe the new Mojam.com mail server is up and running. If you have saved addresses of the form somewhere at manatee.mojam.com please change them to somewhere at mojam.com or somewhere at ...
    Skip MontanaroSkip Montanaro
    Jan 29, 2005 at 11:00 pm
    Jan 29, 2005 at 11:00 pm
  • This is a test message from skip to see if the new email server/mailman is processing mail well (or at all). Please disregard. Skip
    Skip MontanaroSkip Montanaro
    Jan 29, 2005 at 10:09 pm
    Jan 29, 2005 at 10:09 pm
  • Folks, Mojam.com has a new email server. This note is a heads up to let everybody know that I plan to migrate all email services (including mailing lists) hosted on mail.mojam.com (aka ...
    Skip MontanaroSkip Montanaro
    Jan 22, 2005 at 8:32 pm
    Jan 22, 2005 at 8:32 pm
  • I came across this example in the online version of "Programming in Lua" by Roberto Ieru.+y: This is not IMHO a correctly formed CSV string. It would not be produced by csv.writer. However csv.reader ...
    SjmachinSjmachin
    Jan 21, 2005 at 11:06 pm
    Jan 21, 2005 at 11:06 pm
  • Here's a test script for the problem I described earlier: #!/usr/bin/env python import csv import os row = ["sub\rject:","0","1"] writer = csv.writer(open("tmp.csv", "wb")) writer.writerow(row) del ...
    Skip MontanaroSkip Montanaro
    Jan 21, 2005 at 2:31 am
    Jan 24, 2005 at 1:17 pm
  • We use the csv module in the SpamBayes project as an interchange format (*). It's generating, in part, a file like this: ... simplymaya,0,1 entitled,1,1 "subject: ",0,1 depression.,1,0 ... Note the ...
    Skip MontanaroSkip Montanaro
    Jan 20, 2005 at 9:04 pm
    Jan 21, 2005 at 1:17 am
  • Just going back through old mail, and I came across this from last time we considered this issue: This would actually result in us losing data, unfortunately (the data between the \r and the ...
    Andrew McNamaraAndrew McNamara
    Jan 13, 2005 at 3:49 am
    Jan 13, 2005 at 3:49 am
  • I compiled Python in an up-to-date cvs sandbox and ran ./python ../Lib/test/regrtest.py test_csv under control of "valgrind --tool=memcheck" with the default valgrind suppression file that comes with ...
    Skip MontanaroSkip Montanaro
    Jan 8, 2005 at 5:03 am
    Jan 10, 2005 at 3:41 am
  • Andrew explains that in the CSV module, escape characters are not properly removed. Magnus writes: I'm with Magnus on this. No one has 4 year old code using the CSV module. The existing behavior is ...
    Michael ChermsideMichael Chermside
    Jan 7, 2005 at 1:45 pm
    Jan 10, 2005 at 12:40 am
  • I'm considering a change to the csv module that could potentially break some obscure uses of the module (but CSV files usually quote, rather than escape, so the most common uses aren't effected). ...
    Andrew McNamaraAndrew McNamara
    Jan 7, 2005 at 7:54 am
    Jan 7, 2005 at 4:09 pm
  • The "dialect" type in the CSV module had been bugging me for a while - it's used to hold the C-type representation of the parser config, and barely exposed to the user (except as an attribute on the ...
    Andrew McNamaraAndrew McNamara
    Jan 7, 2005 at 1:15 am
    Jan 7, 2005 at 3:08 am
  • There's a bunch of jobs we (CSV module maintainers) have been putting off - attached is a list (in no particular order): * unicode support (this will probably uglify the code considerably). * 8 bit ...
    Andrew McNamaraAndrew McNamara
    Jan 5, 2005 at 7:06 am
    Jan 13, 2005 at 3:21 am
  • Hi, I have been using the cvs module extensively, and find it very useful. Ths only thing is that many of the csv files I use have headers - and the Dictionary Reader doesn't cope with them well. ...
    Chris MunchenbergChris Munchenberg
    Oct 13, 2004 at 2:32 pm
    Oct 17, 2004 at 1:51 pm
  • FYI, I just checked in pep 305 marked "Final". If someone in the community wants to add Unicode support I suppose they can. Otherwise I think it's been done for awhile. If anyone has feelings to the ...
    Skip MontanaroSkip Montanaro
    Aug 11, 2004 at 9:32 pm
    Aug 12, 2004 at 1:38 am
  • I'm working on a pure-Python backport of the csv module. I do it for my private needs and for docutils (which recently added a csv-table directive), so I'm targetting Python 2.1 and up. A quick check ...
    Beni CherniavskyBeni Cherniavsky
    Jul 2, 2004 at 2:41 pm
    Jul 4, 2004 at 11:42 pm
  • I've been thinking we should enforce universal mode in the csv module. I think it could simplify the reader a bit (all EOLs become '\n', right?). Unfortunately, universal mode is a read-only thing ...
    Skip MontanaroSkip Montanaro
    Jun 16, 2004 at 2:14 am
    Jun 17, 2004 at 1:19 am
  • I've a problem that I can't make the new CSV module fix - embedded \r's in fields. I'm parsing a format that allows \r and \n to be part of a field, if the field is quoted with "". Looking at ...
    Gregory BondGregory Bond
    Jun 7, 2004 at 4:34 am
    Jun 7, 2004 at 5:10 am
  • An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/csv/attachments/20040430/b038d4fd/attachment.html ? hello sir, which is namespace for csv & xmlcsvreader &xmlcsvwriter,plz ...
    Shiv ku marShiv ku mar
    Apr 30, 2004 at 6:19 am
    Apr 30, 2004 at 6:19 am
  • A responder to my usenet posting suggested sending email to this address. With input_data = ['word1\tword2;word3\tword4;', 'word5\tword6;word7\tword8;'] and delimiter = '\t' lineterminator = ';' ...
    Jeffrey BarishJeffrey Barish
    Apr 5, 2004 at 9:55 pm
    Apr 6, 2004 at 1:49 am
  • Hi there, I was hoping you can help me.... I have a bf1942 clan website and i want to add stats of my members to the site using csv. files can you help or direct me to a website that can ???? e.mail ...
    MikeMike
    Apr 3, 2004 at 10:14 am
    Apr 6, 2004 at 2:33 pm
  • (First some background -- se bottom for my suggestion.) I mentioned offering a patch to support Unix-style password syntax. I've had a look at the _csv.c code, and it seems quite possible to do. I've ...
    Magnus Lie HetlandMagnus Lie Hetland
    Mar 13, 2004 at 3:48 pm
    Mar 15, 2004 at 8:20 am
  • I would like to know which extenstion library to use if I need to use CSV module in an external application. Regards Marjaneh An HTML attachment was scrubbed... URL: ...
    Marjaneh MojaverianMarjaneh Mojaverian
    Mar 5, 2004 at 4:48 pm
    Mar 5, 2004 at 4:48 pm
  • (A better place for this discussion would probably be csv at mail.mojam.com. I'm adding it to the cc list.) Magnus It seems that when a line termination is escaped (using the Magnus current escape ...
    Skip MontanaroSkip Montanaro
    Mar 2, 2004 at 3:23 pm
    Mar 2, 2004 at 5:24 pm
  • Any opinions about disabling/deleting the csv mailing list? I think it's served its purpose. It seems to mostly be a spam magnet these days. I'd keep the list archives available, but just drop posts ...
    Skip MontanaroSkip Montanaro
    Feb 4, 2004 at 1:45 am
    Feb 4, 2004 at 5:57 am
  • Hi, the status op PEP 305: CSV file API is currently "draft". Shouldn't this be "final"? yours, Gerrit Holl. -- 220. If he had opened a tumor with the operating knife, and put out his eye, he shall ...
    Gerrit HollGerrit Holl
    Jan 5, 2004 at 4:29 pm
    Jan 6, 2004 at 2:29 am
  • I just checked in a change to the csv.DictReader class. The fieldnames argument to the constructor is now optional. Any time the reader's next() method is called when self.fieldnames is None, the row ...
    Skip MontanaroSkip Montanaro
    Oct 3, 2003 at 2:05 pm
    Oct 3, 2003 at 2:05 pm
  • Hi all I'm kind of disappointed by the csv module for Python 2.3. The following line comes from a .csv files generated by Stockscreener Deluxe (moneycentral.msn.com) "INTC.""Intel ...
    Roberto BonatoRoberto Bonato
    Oct 1, 2003 at 10:47 am
    Oct 22, 2003 at 1:22 pm
  • Hello, I am not sure this is the right place to post, else let me know. I mean, is this address dedicated to the development of the CSV module, or to its mere usage as well? Anyway, I can't seem to ...
    Bernard DelméeBernard Delmée
    Aug 21, 2003 at 6:35 pm
    Aug 21, 2003 at 6:35 pm
Group Navigation
period‹ prev | Latest | first ›
Group Overview
groupcsv @
categoriespython
discussions176
posts711
users58
websitepython.org

Top users

Skip: 293 posts Andrew McNamara: 142 posts Dave Cole: 90 posts Cliff Wells: 51 posts John Machin: 32 posts Kevin Altis: 15 posts Magnus Lie Hetland: 10 posts M.-A. Lemburg: 5 posts Bernard Delmée: 5 posts Paul brian: 3 posts Guido van Rossum: 3 posts Neal Norwitz: 3 posts Roberto Bonato: 3 posts Tony Wallace: 3 posts Fred L. Drake, Jr.: 3 posts Martin v. Löwis: 3 posts Tom Brown: 3 posts The TechNews: 2 posts Gregory Bond: 2 posts Carlos Ribeiro: 2 posts
show more