#-*- coding: utf-8 -*-


from sys import argv


script,txt=argv


a=open(txt. 'w')


a.truncate()


c=raw_input("입력")


a.write(c)



이걸 실행시키면


  File "print.py", line 7

    a=open(txt. 'w')

                     ^

SyntaxError: invalid syntax


이렇게뜨는데 이거 왜이런거임???