Re: [Tutor] How does this tiny script works?

2012-07-14 Thread Alexandre Zani
On Sat, Jul 14, 2012 at 8:32 PM, Santosh Kumar wrote: > I am reading How to Think Like a Computer Scientist with Python. There > is a script in the exercise: > > if "Ni!": > print 'We are the Knights who say, "Ni!"' > else: > print "Stop it! No more of this!" > > if 0: > print "And now

[Tutor] How does this tiny script works?

2012-07-14 Thread Santosh Kumar
I am reading How to Think Like a Computer Scientist with Python. There is a script in the exercise: if "Ni!": print 'We are the Knights who say, "Ni!"' else: print "Stop it! No more of this!" if 0: print "And now for something completely different.." else: print "Whats all this, t

Re: [Tutor] google search

2012-07-14 Thread Steven D'Aprano
Goog Cheng wrote: Hi, all! I wanna get the number of results for a query term from google , I tried some methods , xgoogle is the commonest way but still doesn't work well (BWT i'm a beginner) , Could you give me some advice Yes. Don't assume we can read your mind and know what you are talk

[Tutor] google search

2012-07-14 Thread Goog Cheng
Hi, all! I wanna get the number of results for a query term from google , I tried some methods , xgoogle is the commonest way but still doesn't work well (BWT i'm a beginner) , Could you give me some advice or i have to simulate the browser(still unskilled) , I'm pressed for time and to calcul

Re: [Tutor] get columns from txt file

2012-07-14 Thread Dave Angel
On 07/13/2012 05:09 AM, susana moreno colomer wrote: > > > Hi! > I am sorry, but still I don't get it! 1) please don't top-post. Put your new comments AFTER the part you're quoting. Or don't bother quoting, if you think your stuff stands alone. 2) please do a Reply-all, or equivalent. Anyway