Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #54060
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed3.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.019 |
| X-Spam-Evidence | '*H*': 0.96; '*S*': 0.00; 'beginner': 0.05; 'python3': 0.07; 'assuming': 0.09; 'if,': 0.09; 'image,': 0.09; 'python': 0.11; 'thread': 0.14; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'gonna': 0.16; 'latter,': 0.16; 'statement.': 0.16; 'wrote:': 0.18; 'hey': 0.18; 'advance.': 0.19; 'help.': 0.21; 'code,': 0.22; 'saying': 0.22; 'error': 0.23; 'large,': 0.24; 'text,': 0.24; 'guys': 0.24; 'people,': 0.24; 'header:In-Reply-To:1': 0.27; 'tried': 0.27; 'am,': 0.29; 'topic': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'gives': 0.31; 'too.': 0.31; '13,': 0.31; 'changed.': 0.31; 'helpful.': 0.31; 'sep': 0.31; 'probably': 0.32; 'figure': 0.32; 'run': 0.32; 'text': 0.33; 'whom': 0.33; 'fri,': 0.33; 'totally': 0.33; 'problem': 0.35; "can't": 0.35; 'hundreds': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'otherwise.': 0.36; 'thanks': 0.36; 'possible': 0.36; 'should': 0.36; 'too': 0.37; 'being': 0.38; 'problems': 0.38; 'to:addr:python-list': 0.38; 'extremely': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'read': 0.60; 'full': 0.61; 'simply': 0.61; "you're": 0.61; 'first': 0.61; 'holding': 0.65; 'below:': 0.68; 'click': 0.77; 'guaranteed.': 0.84; 'sublime': 0.84; 'url:imgur': 0.84; '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:to :content-type; bh=H4IeYk8A5VgXf0WQmRaRYLrc5bd8kfyyEYwoGy+/1tI=; b=epc0C8OgpnUtYzPdXfZQiK4C9zldZAdE9Yk6y4aibgUIvrw7Qqttefu7pdxx+Q4pKK scnbEVRaPeg72++Nu9t8fqFsltl+zP6spBrvG7AJEuWry2B3ltxHRVU1rNekmEvTbVIH UfclDwLOyaf5uKIh7S1ok97VudOMEjLlXaF9FpcDBQ4bSZ29bOfec0aK1F2qq7v/oKvH 1lyliNJvdRUKnWTSTgnD/uJrixqge34ks8e4UvKMSxFzu7ayIrbsMwqyECjkYrVFvuaN Tx2i7RnwDBaiWe5lox2whT9oL+L0VwJRXVNXLsLXsgIZId4+QR4XFOLe3S8bGKSKUox/ il5A== |
| MIME-Version | 1.0 |
| X-Received | by 10.68.113.99 with SMTP id ix3mr2216174pbb.180.1379001076466; Thu, 12 Sep 2013 08:51:16 -0700 (PDT) |
| In-Reply-To | <eba80aa0-d13d-45ca-ba5e-f0006d7721e3@googlegroups.com> |
| References | <eba80aa0-d13d-45ca-ba5e-f0006d7721e3@googlegroups.com> |
| Date | Fri, 13 Sep 2013 01:51:16 +1000 |
| Subject | Re: Expected an indented block |
| From | Chris Angelico <rosuav@gmail.com> |
| To | python-list@python.org |
| Content-Type | text/plain; charset=ISO-8859-1 |
| 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.314.1379001454.5461.python-list@python.org> (permalink) |
| Lines | 22 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1379001454 news.xs4all.nl 15940 [2001:888:2000:d::a6]:46112 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:54060 |
Show key headers only | View raw
On Fri, Sep 13, 2013 at 1:43 AM, <altugozgercek@gmail.com> wrote: > Hey guys ! its my first topic and I'm gonna start with a problem :) Im totally beginner in Python and each time I try to run this program it gives me the error down below: > > http://imgur.com/ufUAMTs > > I'm using Sublime Text, same problems occured in TextWrangler and in Vim too. I tried python3 python.py too nothing has changed. Thanks in advance. Without the code, we can't much help. But look at line 3 - it probably has an if, while, or for statement. Did you write python.py? Did you copy and paste it from somewhere? If the latter, make sure you retain indentation, as it's important to Python - and it's not always possible to figure out how far things should be indented otherwise. If python.py isn't very large, you'd do well to simply include its content in-line here. Including the full traceback (as text, not as an image) is also extremely helpful. In a few years, this list/newsgroup thread will be being read by hundreds or thousands of people, not all of whom will want to click web links to figure out what you're saying - and that's assuming imgur is still holding your image, which I'm not sure is guaranteed. Text is reliable! ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Expected an indented block altugozgercek@gmail.com - 2013-09-12 08:43 -0700 Re: Expected an indented block John Gordon <gordon@panix.com> - 2013-09-12 15:57 +0000 Re: Expected an indented block Chris Angelico <rosuav@gmail.com> - 2013-09-13 01:51 +1000
csiph-web