meraki / automation-scripts

MIT License
391 stars 198 forks source link

syntax error #11

Closed r0nnie-b closed 4 years ago

r0nnie-b commented 4 years ago

python manageadmins.py -k 12345 -o /all -c add -a test1@1.com -n test1 -p read-only File "manageadmins.py", line 44 42 import sys, getopt, requests, json, time ^ SyntaxError: invalid syntax

python --version Python 3.8.0

pip list Package Version


certifi 2019.11.28 chardet 3.0.4 idna 2.8 pip 19.3.1 requests 2.22.0 setuptools 41.2.0 urllib3 1.25.7

mpapazog commented 4 years ago

Could you check if you have accidentally copied line numbers as well? You can find the script in its raw form here: https://raw.githubusercontent.com/meraki/automation-scripts/master/manageadmins.py

r0nnie-b commented 4 years ago
i'm a tool.... thanks it's working fine.