Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.018 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'subject:error': 0.03; 'interpreter': 0.05; 'that?': 0.05; 'problem:': 0.07; 'cc:addr :python-list': 0.11; 'python': 0.11; '*never*': 0.16; 'doing,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'python-list,': 0.16; 'think.': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'errors.': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'tried': 0.27; '[1]': 0.29; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; '25,': 0.31; 'are.': 0.31; 'omitted': 0.31; 'received:google.com': 0.35; "didn't": 0.36; 'should': 0.36; 'explain': 0.39; 'how': 0.40; 'new': 0.61; "you're": 0.61; 'back': 0.62; 'telling': 0.64; 'more': 0.64; 'close': 0.67; 'frustrated': 0.68; 'prompt': 0.68; 'introduce': 0.78; '"it': 0.84; 'subject:Lists': 0.91; '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=CIGu6SvvXHbJ0fl1uiaj2rsEJkEHBwfrGPpO4eMt/oA=; b=DkTCchTzs5odZNpIn29sYRaAEpzj2zFi32V12UqYJpzG3sOq6hV6wsaWcVddRubTl+ FxnrzHZRrNtAitAnHWTKIqnYX5uL14fqidNVo4u2a0/FBbqcwPni0k0GZyRNFH/PFPhN WqXAjPPqns7oqrATtNAjnuaS0ge4W7FDMQgRzx4dV3sTSCBq3CAP6aqdHmZ1HeP0lOqs s25uRraHNmy3JWaRjD6chuH5E1s0T9TObte3NribVoFI8ejcFLJ3jm3pfvNcVZHuzdzi ubs23bfNW6oHX9JbzlVDiPjdeiq3PEfzrXZOwlzOaCYS3MUtfIFuQ8Ia4e9c7YLx5I6h 8jBA== MIME-Version: 1.0 X-Received: by 10.50.61.137 with SMTP id p9mr4256287igr.34.1414162301969; Fri, 24 Oct 2014 07:51:41 -0700 (PDT) In-Reply-To: References: <2412654f-ac5e-4678-8956-afc4e27affb3@googlegroups.com> Date: Sat, 25 Oct 2014 01:51:41 +1100 Subject: Re: I am out of trial and error again Lists From: Chris Angelico Cc: "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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1414162310 news.xs4all.nl 2830 [2001:888:2000:d::a6]:41278 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:79572 On Sat, Oct 25, 2014 at 1:38 AM, Seymore4Head wrote: > I tried list(range(10) I thought that would work in Python 3. It > didn't. This is your problem: You say "it didn't work". That is almost *never* the right thing to say or to think. What happened when you tried that? Did you get a SyntaxError because of the omitted close parenthesis? Did the interpreter prompt for more input? Did a velociraptor come out of nowhere and try to kill you [1]? When you come back to python-list, you should say exactly what you did and exactly what happened, not "I tried X and it didn't work". Copy and paste from your interactive session - do NOT retype, because you introduce new errors. It's very hard to help you when you don't explain what you're doing, and just keep on telling us how frustrated you are. ChrisA [1] http://xkcd.com/292/