Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #94756 > unrolled thread
| Started by | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| First post | 2015-07-29 20:11 -0400 |
| Last post | 2015-07-29 20:11 -0400 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: line error on no. 7 Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-07-29 20:11 -0400
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| Date | 2015-07-29 20:11 -0400 |
| Subject | Re: line error on no. 7 |
| Message-ID | <mailman.1082.1438215086.3674.python-list@python.org> |
On Wed, 29 Jul 2015 16:23:20 +0200 (CEST), Jean-Michel Pichavant
<jeanmichel@sequans.com> declaimed the following:
>----- Original Message -----
>> From: "ltc hotspot" <ltc.hotspot@gmail.com>
> list.append
> sorted("fh")
>print line.rstrip()
>
>The main issue is that you've misspelled 'lst' in the for loop. You've used 'list' instead. 'list' is a built-in constructor for lists. You cannot split it. I'm also not sure what """ if fh == list:continue """ is supposed to achieve.
list.append
doesn't do anything useful either -- it just looks up the append method and
dumps in on the floor.
sorted("fh")
is also being dumped on the floor -- presuming it does anything to a single
string in the first case.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
Back to top | Article view | comp.lang.python
csiph-web