[Tutor] Files, directories and syntax

Sean 'Shaleh' Perry shaleh@valinux.com
Thu, 01 Mar 2001 12:08:40 -0800 (PST)


> 
>  Here's what I have so far:
> 

would you resend with the file as an attachment.  The indentation appears to be
compleletely missing.  If this is actually how it looks in the original file,
the problem lies in the fact that python defines code blocks with indentation.

So, you have:

def change_line(directory = None):

the next line must be at least indented one space from the letter 'd' in def. 
Preferably more.  So with the line following an if, etc.