Can anyone tell me what is wrong with this? I'm getting a syntax error after the 2nd quote on the print line... It seems like this should work perfectly fine. Thanks
def main():
print "blah"
return
main()
In case you're using Python 3, the print statement is gone in that version and you need to use the print() function.
See: http://docs.python.org/release/3.0.1/whatsnew/3.0.html#print-is-a-function
print? Are you using Python 3?printis a function, not a statement. Should beprint("blah").