Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #24659
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python@mrabarnett.plus.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.001 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'interpreter': 0.04; 'python3': 0.05; 'python': 0.09; 'block.': 0.09; 'if,': 0.09; 'tab': 0.09; 'subject:error': 0.11; 'for,': 0.16; 'from:addr:mrabarnett.plus.com': 0.16; 'from:addr:python': 0.16; 'from:name:mrab': 0.16; 'message-id:@mrabarnett.plus.com': 0.16; 'really?': 0.16; 'received:84.93': 0.16; 'received:84.93.230': 0.16; 'subject:Mac': 0.16; 'wrote:': 0.17; '(or': 0.18; 'versions': 0.20; 'written': 0.20; 'feature': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'guess': 0.27; "doesn't": 0.28; 'feature,': 0.29; 'indentation': 0.29; 'received:192.168.1.3': 0.29; "i'm": 0.29; 'maybe': 0.29; 'thursday,': 0.30; 'basic': 0.30; 'code': 0.31; 'etc.)': 0.32; 'received:84': 0.32; 'print': 0.32; "aren't": 0.33; 'to:addr :python-list': 0.33; 'tutorial': 0.33; 'explain': 0.36; "didn't": 0.36; 'moment': 0.37; 'subject:: ': 0.38; 'instead': 0.39; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'your': 0.60; 'below,': 0.60; 'thomas': 0.62; 'choose': 0.65; 'header:Reply-To:1': 0.68; 'press': 0.71; 'reply-to:no real name:2**0': 0.72; 'reply-to:addr:python.org': 0.84 |
| X-CM-Score | 0.00 |
| X-CNFS-Analysis | v=2.0 cv=AYoz7grG c=1 sm=1 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=YsUzL_8ObRgA:10 a=J8Hb93HA4DAA:10 a=ihvODaAuJD4A:10 a=OUOv7kDek9cA:10 a=8nJEP1OIZ-IA:10 a=EBOSESyhAAAA:8 a=8AHkEIZyAAAA:8 a=mYVRsiMK0lhT09laZ44A:9 a=wPNLvfGTeEIA:10 a=0nF1XD0wxitMEM03M9B4ZQ==:117 |
| X-AUTH | mrabarnett:2500 |
| Date | Fri, 29 Jun 2012 16:21:56 +0100 |
| From | MRAB <python@mrabarnett.plus.com> |
| User-Agent | Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | Re: Re Following syntax error in Mac OX10.7 Terminal |
| References | <871ukzs5rx.fsf@gmail.com> <7e3890e4-3225-47f1-99e8-e5574c6413ef@googlegroups.com> |
| In-Reply-To | <7e3890e4-3225-47f1-99e8-e5574c6413ef@googlegroups.com> |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| Reply-To | python-list@python.org |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://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 | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1633.1340983502.4697.python-list@python.org> (permalink) |
| Lines | 21 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1340983502 news.xs4all.nl 6851 [2001:888:2000:d::a6]:42076 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:24659 |
Show key headers only | View raw
On 29/06/2012 16:13, David Thomas wrote: > On Thursday, June 28, 2012 6:30:42 PM UTC+1, Sergi Pasoev wrote: >> You just have to consider that indentation matters in Python, so you >> have to type the code in Python interpreter as you have written it >> below, that is, press Tab before each line when you are inside the >> 'while (or any other like for, if, with, etc.) block. >> >> a=0 >> while a<10: >> a=a+1 >> print a >> >> I can guess from your message that you aren't aware of one very >> important Python feature, and maybe you also didn't willingly choose to >> learn Python2 instead of Python3 ? In this case I would advise you to >> consider both versions before choosing. > > Hi yeah I'm currently learning python 2 at the moment and the tutorial that > I am studying doesn't explain about indentation. > Really? Indentation is a basic feature of Python!
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re Following syntax error in Mac OX10.7 Terminal Sergi Pasoev <s.pasoev@gmail.com> - 2012-06-28 21:30 +0400
Re: Re Following syntax error in Mac OX10.7 Terminal David Thomas <dthomas86@me.com> - 2012-06-29 08:13 -0700
Re: Re Following syntax error in Mac OX10.7 Terminal MRAB <python@mrabarnett.plus.com> - 2012-06-29 16:21 +0100
Re: Re Following syntax error in Mac OX10.7 Terminal David Thomas <dthomas86@me.com> - 2012-06-29 08:58 -0700
Re: Re Following syntax error in Mac OX10.7 Terminal Andrew Berg <bahamutzero8825@gmail.com> - 2012-06-29 21:05 -0500
Re: Re Following syntax error in Mac OX10.7 Terminal David Thomas <dthomas86@me.com> - 2012-06-29 08:58 -0700
Re: Re Following syntax error in Mac OX10.7 Terminal Ben Finney <ben+python@benfinney.id.au> - 2012-06-30 02:02 +1000
csiph-web