Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #83196
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.029 |
| X-Spam-Evidence | '*H*': 0.94; '*S*': 0.00; 'exception,': 0.09; 'cc:addr:python-list': 0.11; 'subject:Help': 0.11; 'jan': 0.12; 'exception?': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:python': 0.16; 'exception': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'this?': 0.23; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'message- id:@mail.gmail.com': 0.30; 'getting': 0.31; 'run': 0.32; 'message.': 0.35; 'subject:with': 0.35; 'something': 0.35; 'received:google.com': 0.35; 'wrong': 0.37; 'pm,': 0.38; 'expect': 0.39; 'entire': 0.61; "you're": 0.61; 'show': 0.63; '2015': 0.84; 'to:none': 0.92 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=cdFS0HJO4St+GcOaveE1/NGvvwGZFqWHWn8LQuXoDBs=; b=XweD3d0G6xKNnHbdmPRQW2Rdj9xmHQncX3iVrk7pDNp9j6c10d2/m0rRkqr6AG1reJ kW61pe/UM5uRXMzL7vsxvmHgtrm2/boJXO3GUxj1O03DP+Kie1UTavNiTKgfyw1+CUVG CV/LG2hzCvl7pc5TrPj17WrCnoHnlTUWuAyWm/jgA9CO2TKPBuF/7hJLri10G9IsL7A2 L7Cx9r+6M3EG6zQO1XGN3AnQ0tuiFasIYHXw5z/f5Bhzp5xGGJS2TzgD330OtZbCxC9M wSA9MDfBVtAweaz3H+yCgfojQ7kyhnHTWCVEDohFl8nX+JcwLkYyu3OqAWkNDkqR/F9j EjIw== |
| MIME-Version | 1.0 |
| X-Received | by 10.42.94.14 with SMTP id z14mr30020577icm.59.1420372024021; Sun, 04 Jan 2015 03:47:04 -0800 (PST) |
| In-Reply-To | <60e62263-6cd1-48b9-acbc-f1a0b947b8c9@googlegroups.com> |
| References | <60e62263-6cd1-48b9-acbc-f1a0b947b8c9@googlegroups.com> |
| Date | Sun, 4 Jan 2015 22:47:03 +1100 |
| Subject | Re: Help with map python 2 |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| 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.17367.1420372032.18130.python-list@python.org> (permalink) |
| Lines | 10 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1420372032 news.xs4all.nl 2869 [2001:888:2000:d::a6]:34265 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:83196 |
Show key headers only | View raw
On Sun, Jan 4, 2015 at 10:34 PM, flebber <flebber.crue@gmail.com> wrote: > Just getting something wrong > list(map((lambda x: x * -1 if (x%2 != 0)), series)) Okay, and what happens when you run this? Do you get an exception? If so (and I fully expect you will), copy and paste the entire exception traceback and message. That's the best way to show what's going wrong. If you're not getting an exception, what do you get that's wrong? ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Help with map python 2 flebber <flebber.crue@gmail.com> - 2015-01-04 03:34 -0800
Re: Help with map python 2 Chris Angelico <rosuav@gmail.com> - 2015-01-04 22:47 +1100
Re: Help with map python 2 Alec Taylor <alec.taylor6@gmail.com> - 2015-01-04 22:47 +1100
Re: Help with map python 2 Alec Taylor <alec.taylor6@gmail.com> - 2015-01-04 22:48 +1100
Re: Help with map python 2 Jussi Piitulainen <jpiitula@ling.helsinki.fi> - 2015-01-04 14:08 +0200
Re: Help with map python 2 flebber <flebber.crue@gmail.com> - 2015-01-05 03:33 -0800
Re: Help with map python 2 Terry Reedy <tjreedy@udel.edu> - 2015-01-05 18:28 -0500
Re: Help with map python 2 Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-01-06 12:30 +1100
Re: Help with map python 2 Peter Otten <__peter__@web.de> - 2015-01-04 17:33 +0100
Re: Help with map python 2 Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-01-04 12:32 -0500
Re: Help with map python 2 Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-01-04 12:41 -0500
Re: Help with map python 2 Dan Stromberg <drsalists@gmail.com> - 2015-01-04 10:06 -0800
Re: Help with map python 2 Terry Reedy <tjreedy@udel.edu> - 2015-01-04 16:13 -0500
Re: Help with map python 2 flebber <flebber.crue@gmail.com> - 2015-01-05 03:37 -0800
Re: Help with map python 2 Sayth Renshaw <flebber.crue@gmail.com> - 2015-01-04 21:22 +0000
csiph-web