A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2007-June/073757.html below:

[Python-Dev] csv changed from python 2.4 to 2.5

[Python-Dev] csv changed from python 2.4 to 2.5 [Python-Dev] csv changed from python 2.4 to 2.5Christian ckkart at hoc.net
Wed Jun 27 13:43:49 CEST 2007
Nick Craig-Wood wrote:
> Christian K <ckkart at hoc.net> wrote:

[...]


>>  Python 2.5.1 (r251:54863, May  2 2007, 16:56:35)
>>  [GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2
>>  Type "help", "copyright", "credits" or "license" for more information.
>>>>> import csv
>>>>> d = csv.excel
>>>>> d.delimiter = ','
>>>>>
> 
> Don't you want to do this anyway?
> 
>   import csv
>   class my_dialect(csv.excel):
>       delimeter = ","
> 

I could probably do that, sure. I used to register my custom dialects and
retrieve and modify them at another place, thus probably misusing the register
mechanism as a replacement for a global symbol.

Thanks, Christian


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4