Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #61968
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!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.012 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; '16,': 0.03; 'subject:Python': 0.06; 'consistency': 0.09; 'subject:script': 0.09; 'cc:addr:python-list': 0.11; 'subject:Help': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'indent': 0.16; "someone's": 0.16; 'wrote:': 0.18; 'file,': 0.19; 'cc:addr:python.org': 0.22; 'error': 0.23; 'mon,': 0.24; 'file.': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'rest': 0.29; 'am,': 0.29; 'dec': 0.30; 'originally': 0.30; 'message-id:@mail.gmail.com': 0.30; 'work.': 0.31; 'received:google.com': 0.35; 'subject:?': 0.36; 'should': 0.36; 'subject:New': 0.37; 'delete': 0.39; 'other.': 0.75; 'subject:get': 0.81; 'underneath': 0.84; 'mistake': 0.91; 'to:none': 0.92; '2013': 0.98 |
| 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=fc2NeUWNH3LEK0mlxFmaGWfYNOE7RRY/lxkHdx2Ljbw=; b=L83IURMArmCbDJw/fzcVfNZxyEWNeyS1RSGt5quKGopyOJUurD6o5HrT8bG4LFUu/i EgzDUcsskwLgvixuyek1GuoDNOH65R4glzBUUXkdAnyD6b1R5oFo/PuIrqfrnpOfQlgc 0piAakCVFqoJqAFHe5iX0BDt3nMXICe8h5a66d9dEHiK8SGuTBqEiLoTWvViIogRuxry A0mImY1SWTZaiU6FD7cfNen9NDKXCAgsM/D8alHB7RexR8ex+z9gRNUNh6C4sdO2dxuQ p8Ke2LS25DeVAdHF78XwfDeFbxN+ur8aQi4SVgHlwzdT49sipzcqPqK91QqxHc3LGuz7 mwRA== |
| MIME-Version | 1.0 |
| X-Received | by 10.66.102.39 with SMTP id fl7mr16266567pab.43.1387145419671; Sun, 15 Dec 2013 14:10:19 -0800 (PST) |
| In-Reply-To | <bd321ee0-3966-4eb6-8fff-3b32e6848a86@googlegroups.com> |
| References | <61009939-dc9b-4ffe-84c0-a695b96d9a2d@googlegroups.com> <5769f8c3-f09c-458a-92b6-c727bfe95656@googlegroups.com> <bd321ee0-3966-4eb6-8fff-3b32e6848a86@googlegroups.com> |
| Date | Mon, 16 Dec 2013 09:10:19 +1100 |
| Subject | Re: New to Python, Help to get script working? |
| 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.4153.1387145428.18130.python-list@python.org> (permalink) |
| Lines | 11 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1387145428 news.xs4all.nl 2834 [2001:888:2000:d::a6]:54663 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:61968 |
Show key headers only | View raw
On Mon, Dec 16, 2013 at 8:31 AM, Mark <markyshizzle@gmail.com> wrote: > I originally get an indent error on line 19, i delete the indent and i get > > ***'return outside function (Twitch.py, line 19) Good point, someone's made a mistake in that file. What you need to do is match the "output = ..." line and the "return ..." line underneath it. For consistency with the rest of the file, indent the "output" line to match the other. That should make it work. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
New to Python, Help to get script working? Mark <markyshizzle@gmail.com> - 2013-12-14 20:51 -0800
Re: New to Python, Help to get script working? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-12-15 05:03 +0000
Re: New to Python, Help to get script working? Chris Angelico <rosuav@gmail.com> - 2013-12-15 16:06 +1100
Re: New to Python, Help to get script working? Denis McMahon <denismfmcmahon@gmail.com> - 2013-12-15 15:25 +0000
Re: New to Python, Help to get script working? Mark <markyshizzle@gmail.com> - 2013-12-15 13:19 -0800
Re: New to Python, Help to get script working? Mark <markyshizzle@gmail.com> - 2013-12-15 13:31 -0800
Re: New to Python, Help to get script working? Chris Angelico <rosuav@gmail.com> - 2013-12-16 09:10 +1100
Re: New to Python, Help to get script working? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-12-16 01:37 +0000
Re: New to Python, Help to get script working? Chris Angelico <rosuav@gmail.com> - 2013-12-16 13:33 +1100
Re: New to Python, Help to get script working? Mark <markyshizzle@gmail.com> - 2013-12-15 23:09 -0800
Re: New to Python, Help to get script working? Mark <markyshizzle@gmail.com> - 2013-12-15 23:43 -0800
Re: New to Python, Help to get script working? Chris Angelico <rosuav@gmail.com> - 2013-12-16 18:47 +1100
Re: New to Python, Help to get script working? Mark <markyshizzle@gmail.com> - 2013-12-15 23:48 -0800
Re: New to Python, Help to get script working? Mark <markyshizzle@gmail.com> - 2013-12-15 23:52 -0800
Re: New to Python, Help to get script working? Mark <markyshizzle@gmail.com> - 2013-12-15 23:55 -0800
Re: New to Python, Help to get script working? Mark <markyshizzle@gmail.com> - 2013-12-16 00:02 -0800
Re: New to Python, Help to get script working? "Frank Millman" <frank@chagford.com> - 2013-12-16 10:38 +0200
Re: New to Python, Help to get script working? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-16 09:28 +0000
Re: New to Python, Help to get script working? Ned Batchelder <ned@nedbatchelder.com> - 2013-12-16 10:19 -0500
Re: New to Python, Help to get script working? Mark <markyshizzle@gmail.com> - 2013-12-16 12:25 -0800
Re: New to Python, Help to get script working? rusi <rustompmody@gmail.com> - 2013-12-16 17:05 -0800
Re: New to Python, Help to get script working? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-12-16 21:05 -0500
Re: New to Python, Help to get script working? Mark <markyshizzle@gmail.com> - 2013-12-17 03:05 -0800
Re: New to Python, Help to get script working? rusi <rustompmody@gmail.com> - 2013-12-17 09:13 -0800
Re: New to Python, Help to get script working? Chris Angelico <rosuav@gmail.com> - 2013-12-16 18:43 +1100
Re: New to Python, Help to get script working? Rick Johnson <rantingrickjohnson@gmail.com> - 2013-12-17 09:33 -0800
Re: New to Python, Help to get script working? Joel Goldstick <joel.goldstick@gmail.com> - 2013-12-17 12:40 -0500
Re: New to Python, Help to get script working? Mark <markyshizzle@gmail.com> - 2013-12-18 14:46 -0800
csiph-web