I am brand new at Python an i'm trying to followa basic programming cours from ciso/github. i am following some instructons verbatim, literally a cu n paste from some sample code, yet i still get syntax errors . can somebody telly me what is going wrong please?` her is my code
curl -k -x "https://10.85.116.30:443/restconf/data/Cisco-IOS-XE-native:native/logging/monitor/severity"
-H 'Accept: application/yang-data+json'
-u 'admin:admin'
File "<input>", line 1
curl -k -x "https://10.85.116.30:443/restconf/data/Cisco-IOS-XE-native:native/logging/monitor/severity"
^
SyntaxError: invalid syntax
^
question from:
https://stackoverflow.com/questions/65650833/why-am-i-getting-invalid-syntax-using-curl-in-pycharm 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…