problems defining an empty list

Manuel Hendel python-list at
Wed Sep 25 03:06:55 EDT 2002

This is what I'm trying to do:

    # empty list for lines per domain
    linesperdomain = []
    linesperdomain = [domain, domainlines]
    print linesperdomain

domainlines is also a list.


linesperdomain = []
IndentationError: unindent does not match any outer indentation level

I've done it the same way in the same script several times before,
what's wrong here.

I don't understand this error.

Can someone help.


This American system of ours, call it Americanism, call it capitalism, call it 
what you will, gives each and every one of us a great opportunity if we only 
seize it with both hands and make the most of it. 
-Al Capone 

More information about the Python-list mailing list