私はPythonを学び始めたばかりです...だから我慢してください
このコード ブロックで無効な構文エラーが発生するのはなぜですか
def InvalidArgsSpecified:
print ("*** Simtho Usage ***\n")
print ("-i Installs Local App,, include full path")
print ("-u Uninstalls Installed App,include ID or Name")
print ("-li Lists all installed Apps and their ID")
print ("-all Lists All Apps in Repository")
print ("-di Downloads and Installs App from repository, enter the title or id number")
print ("-dw Downloads and Installs Single App from a full link")
print ("-rmall Removes All Packages installed and removes Simtho itself\n")
print ("*** End of Simtho Usage ***")
sys.exit()
編集:9行目で未定義であると言っています9行目は
InvalidArgsSpecified()