What's wrong with this code? : This is the end of my script. I'm getting the error :  print "[%s]\t %s " % (item.sharing['access'], item.title)
                     ^
SyntaxError: invalid syntax

    `#List titles and sharing status for items in users'home folder
     for item in currentUser.items:
         print "[%s]\t %s " % (item.sharing['access'], item.title)`
If you tell me how to correct this mistake as well as provide resources to avoid mistakes such as this one that would be greatly appreciated.