Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #94756
| Path | csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.002 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; '"""': 0.05; 'append': 0.07; 'constructor': 0.07; 'loop.': 0.09; 'message-id:@4ax.com': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:error': 0.11; 'wed,': 0.15; 'instead.': 0.15; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'string': 0.17; 'case.': 0.18; 'url:home': 0.18; '2015': 0.20; '+0200': 0.20; 'split': 0.23; "doesn't": 0.26; 'header:X -Complaints-To:1': 0.26; 'looks': 0.29; 'dumps': 0.29; 'floor.': 0.29; '-----': 0.29; "i'm": 0.30; 'supposed': 0.31; 'useful': 0.33; 'lists.': 0.35; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'being': 0.37; 'method': 0.37; 'received:org': 0.37; 'charset:us-ascii': 0.37; 'anything': 0.38; 'sure': 0.39; 'does': 0.39; 'from:': 0.39; 'to:addr:python.org': 0.40; 'subject:. ': 0.67; 'jul': 0.72; 'subject:no.': 0.84; 'dennis': 0.91; 'received:108': 0.93 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
| Subject | Re: line error on no. 7 |
| Date | Wed, 29 Jul 2015 20:11:08 -0400 |
| Organization | IISS Elusive Unicorn |
| References | <55b7e499.c590420a.2c00.3f74@mx.google.com> <1057631477.698271.1438179800046.JavaMail.root@sequans.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | adsl-108-79-220-40.dsl.klmzmi.sbcglobal.net |
| X-Newsreader | Forte Agent 6.00/32.1186 |
| X-No-Archive | YES |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| 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 | <http://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> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1082.1438215086.3674.python-list@python.org> (permalink) |
| Lines | 26 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1438215086 news.xs4all.nl 2825 [2001:888:2000:d::a6]:35939 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:94756 |
Show key headers only | View raw
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 comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: line error on no. 7 Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-07-29 20:11 -0400
csiph-web