Re: [Tutor] why doesn't python show error

2011-11-29 Thread Alan Gauld
On 28/11/11 10:31, surya k wrote: Thanks for that information. I understood what you are saying but in general when python doesn't give us executable files (whether its in Mac/ Linux/ Windows).. how could people develop programs ?. At some point of time people need to provide a file that runs wit

Re: [Tutor] why doesn't python show error

2011-11-29 Thread Max gmail
In some cases, it is a useful fact that Python only shows error messages when they are encountered. For example, I can test a program while keeping away from an area that still doesn't work, rather than having to make it work flawlessly before my first test. Python *can* generate executables w

Re: [Tutor] why doesn't python show error

2011-11-28 Thread Steven D'Aprano
surya k wrote: Thanks for that information. I understood what you are saying but in general when python doesn't give us executable files (whether its in Mac/ Linux/ Windows).. how could people develop programs ?. At some point of time people need to provide a file that runs without the help of a

Re: [Tutor] why doesn't python show error

2011-11-28 Thread surya k
ython interpreter.. From: Sarma Tangirala Sent: Monday, November 28, 2011 3:46 PM To: surya k Cc: Python Tutor Subject: Re: [Tutor] why doesn't python show error On 28 November 2011 15:23, surya k wrote: 1. Why doesn't python show error(description given below) at the beginni

Re: [Tutor] why doesn't python show error

2011-11-28 Thread Sarma Tangirala
On 28 November 2011 15:23, surya k wrote: > > 1. Why doesn't python show error(description given below) at > the beginning when we use functions which aren't present in the standard > modules... > > Example: > > TheString = raw_input('enter a string')lengthofStr = strlen(TheString)Look > closely,

[Tutor] why doesn't python show error

2011-11-28 Thread surya k
1. Why doesn't python show error(description given below) at the beginning when we use functions which aren't present in the standard modules... Example:  TheString = raw_input('enter a string')lengthofStr = strlen(TheString)Look closely, I used a wrong function to find length of the string. [