Re: [Tutor] What's an IndentationError & How Do I Fix It

2011-03-12 Thread Dorje Kawabata
Perfect. Thanks for both how to make them and on how to not make them. 2011/3/12 Yaşar Arabacı > You could use any amount of spaces before your code. Just to remember being > consisted, as every level of spaces counts as different code block. > > When you want to get out of indentation, just en

Re: [Tutor] What's an IndentationError & How Do I Fix It

2011-03-12 Thread Yaşar Arabacı
You could use any amount of spaces before your code. Just to remember being consisted, as every level of spaces counts as different code block. When you want to get out of indentation, just enter a line without indenting it. 12-03-2011 18:20, Dorje Kawabata yazmış: I'm using the python interp

Re: [Tutor] What's an IndentationError & How Do I Fix It

2011-03-12 Thread Steven D'Aprano
Dorje Kawabata wrote: IndentationError: expected an indented block I'm learning python as my first language since coding Basic in 6th grade (over 30 years ago). I assume that in a text editor I would simply indent the code. *My question is how do I fix this in the interpreter? What do I type?*

[Tutor] What's an IndentationError & How Do I Fix It

2011-03-12 Thread Dorje Kawabata
I'm using the python interpreter and entered the following code: >>> for page in range(1,6): ... search_results.append(twitter_search.search(q="#prayforjapan", rpp=100, page=page)) And received this: File "", line 2 search_results.append(twitter_search.search(q="#prayforjapan", rpp=100, pag