Ray Holt wrote: > Why am I getting an invalid systax on the first except in the following > code. It was copid from the python tutorial for beginners. Thanks, Ray > import sys > try: > #open file stream > file = open(file_name, "w" [snip] Missing ")".