En Sun, 24 Jun 2007 23:17:25 -0300, senthil arasu <[EMAIL PROTECTED]>  
escribió:

> Hi,
> Iam new tp python programming.
>
> Iam getting compiler error  when declaring frame instance as local  
> variable.
> please find the code

In Python, indentation (number of spaces at start of lines) is important.  
Verify your code against the original source (book, tutorial, wherever you  
got it).
Both "def" lines should be indented 1 level (let's say, 4 spaces). All  
lines between those two, should be indented 2 levels (8 spaces), same  
indentation for the "hi there!" line. All other lines should be at the  
left margin.

-- 
Gabriel Genellina

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to