Re: about if __name == '__main__':

2011-08-28 Thread Amit Jaluf
On Aug 28, 12:51 pm, Ian Kelly wrote: > On Sun, Aug 28, 2011 at 9:34 AM, Amit Jaluf wrote: > > hello group > > > i have one question about this > > > if __name == '__main__': sorry dear for this and thanks all of you for this -- http://ma

about if __name == '__main__':

2011-08-28 Thread Amit Jaluf
hello group i have one question about this if __name == '__main__': is it same as other languages like[c,c++] main function. because of i google and read faqs and also " http://docs.python.org/faq/programming#how-do-i-find-the-current-module-name"; this and i am confused. thanks -- http://m

Re: indentation

2011-08-11 Thread Amit Jaluf
On Aug 11, 8:15 am, MRAB wrote: > On 11/08/2011 13:56, Amit Jaluf wrote:> Hello Group, > > i just start python is it necessary indentation in python ? > > Yes, indentation is part of the language. > > Even in programming languages where it isn't necessary, it's

indentation

2011-08-11 Thread Amit Jaluf
Hello Group, i just start python is it necessary indentation in python ? thanks in advance ... -- http://mail.python.org/mailman/listinfo/python-list