Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Multics is security spelled sideways.


devel / comp.lang.python / Re: problem reading a CSV file

SubjectAuthor
* Re: problem reading a CSV fileMRAB
`- Re: problem reading a CSV fileGreg Ewing

1
Re: problem reading a CSV file

<mailman.85.1639419028.15287.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=16412&group=comp.lang.python#16412

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: pyt...@mrabarnett.plus.com (MRAB)
Newsgroups: comp.lang.python
Subject: Re: problem reading a CSV file
Date: Mon, 13 Dec 2021 18:07:16 +0000
Lines: 13
Message-ID: <mailman.85.1639419028.15287.python-list@python.org>
References: <CAG2cnigEeMkYXPNWFVvhzyk6QH6E7nUGciQO+R1suBb6Ypp4eQ@mail.gmail.com>
<8ec4940a-caeb-e285-b5a1-2090f472f16e@mrabarnett.plus.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de RhKaVmfQtBpmDezBOx4HwQhziCfO48hbvPDU4XR8QApg==
Return-Path: <python@mrabarnett.plus.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=plus.com header.i=@plus.com header.b=joZsW8hB;
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.001
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:problem': 0.03;
'variable': 0.05; 'from:addr:python': 0.09;
'received:192.168.1.64': 0.09; 'from:addr:mrabarnett.plus.com':
0.16; 'from:name:mrab': 0.16; 'message-id:@mrabarnett.plus.com':
0.16; 'received:84.93': 0.16; 'received:84.93.230': 0.16;
'received:84.93.230.227': 0.16; 'received:plus.net': 0.16;
'subject:CSV': 0.16; 'subject:reading': 0.16; 'wrote:': 0.16;
'problem': 0.16; 'python': 0.16; 'probably': 0.17; 'to:addr
:python-list': 0.20; 'subject:file': 0.22; 'error': 0.29; 'header
:User-Agent:1': 0.30; 'program': 0.31; 'received:192.168.1': 0.32;
'but': 0.32; 'header:In-Reply-To:1': 0.34; "it's": 0.37;
'received:192.168': 0.37; 'file': 0.38; 'difficult': 0.40; 'want':
0.40; '10,': 0.61; 'experiment': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=plus.com; s=042019;
t=1639418841; bh=9Qj1U+Y3pruBnm70aR/wmc9le8HrAaJBwaHHnKH4RG8=;
h=Date:Subject:To:References:From:In-Reply-To;
b=joZsW8hBkbAhtLm5Mq/Yruh5NiDh9iSkO9LdihOWs77GSHKZgtHVyAJW/6KE1sU4s
pEpxwvsXDuCOVQQaUaxHCwcSlxbp6/d4d02vHmBidDFM/VhG9xH1ZNZfDUdaQ1khMj
hLJBXN7LNoqb4TWzpyZMUEmUatzOR65VozMZDb9gjFyO9+O19KVBFojHqmfFyA+5D7
P/SyBTFWPhqHP4vlIApQgViVaaJP3oMnIHJYq1rL4LE0/xXrfQViCnDPRJki6TsLGQ
8BUg4C/sLnboRRu5GgCem6rBJSJZf4BM3Ajfn47gmyYOt8CEKmXBcvVDYG39eFKOQp
sCTZ2Ukkqg4ug==
X-Clacks-Overhead: "GNU Terry Pratchett"
X-CM-Score: 0.00
X-CNFS-Analysis: v=2.4 cv=XKtT9StE c=1 sm=1 tr=0 ts=61b78bd9
a=0nF1XD0wxitMEM03M9B4ZQ==:117 a=0nF1XD0wxitMEM03M9B4ZQ==:17
a=IkcTkHD0fZMA:10 a=RJAlBWM8nlqrLUs0p4AA:9 a=QEXdDO2ut3YA:10
X-AUTH: mrabarnett@:2500
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.3.2
Content-Language: en-GB
In-Reply-To: <CAG2cnigEeMkYXPNWFVvhzyk6QH6E7nUGciQO+R1suBb6Ypp4eQ@mail.gmail.com>
X-CMAE-Envelope: MS4xfOQBPLRBOzWCEM3C8Rhk4qHDLBQpi60FWy4tc4cFrdQYM3POVIivD0w9OqpO/ps/Np7/b1Os9PwYwv2KJNweRbb8534Ky8v0ZHGSDKk7Uyz0Dy5T0ai6
u3ZHMftnypcmm4CZYm07k24J8lGTKqHXBOJHe9Gg2TDqU7hLILWKAqseKbREbbEQSfEWbBdh/S7npde6RCXgXPBM5RccmYLXfNA=
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.38
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <8ec4940a-caeb-e285-b5a1-2090f472f16e@mrabarnett.plus.com>
X-Mailman-Original-References: <CAG2cnigEeMkYXPNWFVvhzyk6QH6E7nUGciQO+R1suBb6Ypp4eQ@mail.gmail.com>
 by: MRAB - Mon, 13 Dec 2021 18:07 UTC

On 2021-12-12 23:37, Larry Warner wrote:
> Win 10, Chrome, Python 3.10.1
> New at python
> error on open statement
>
> Probably simple error but I do not see it.
>
> The program is a python example with the file name being changed. I want
> to experiment with changing the literal file name in the open statement to
> a variable name later.
>
It's difficult to say what the problem is when you haven't given us the
code!

Re: problem reading a CSV file

<j1q1daFsuqkU1@mid.individual.net>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=16414&group=comp.lang.python#16414

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: greg.ew...@canterbury.ac.nz (Greg Ewing)
Newsgroups: comp.lang.python
Subject: Re: problem reading a CSV file
Date: Tue, 14 Dec 2021 11:56:42 +1300
Lines: 9
Message-ID: <j1q1daFsuqkU1@mid.individual.net>
References: <CAG2cnigEeMkYXPNWFVvhzyk6QH6E7nUGciQO+R1suBb6Ypp4eQ@mail.gmail.com>
<8ec4940a-caeb-e285-b5a1-2090f472f16e@mrabarnett.plus.com>
<mailman.85.1639419028.15287.python-list@python.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net GsnDScPJ6J1a6sFpDytyaQXnZ8Wraf129Ujt2NgvMcw3Fctxc1
Cancel-Lock: sha1:Ln3OFrxs3mVyCu2DMARdU0MwsSg=
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:91.0)
Gecko/20100101 Thunderbird/91.3.2
Content-Language: en-US
In-Reply-To: <mailman.85.1639419028.15287.python-list@python.org>
 by: Greg Ewing - Mon, 13 Dec 2021 22:56 UTC

On 14/12/21 7:07 am, MRAB wrote:
> It's difficult to say what the problem is when you haven't given us the
> code!

Note: Attachments do not make it to this list.
You will need to insert the code into the message as text.

--
Greg

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor