django - Error when running a python script - invalid syntax -
i keep getting error when running python script
sudo python net-creds.py file "net-creds.py", line 75 ipr = popen([‘/usr/local/bin/ip’, 'route'], stdout=pipe, stderr=dn) ^ syntaxerror: invalid syntax
you using " ` " instead of '
.so try this
ipr = popen(['/usr/local/bin/ip', 'route'], stdout=pipe, stderr=dn)
Comments
Post a Comment