Unable to generate log files produced by the Email Data Feed service.
Advanced Threat Protection Email
The following error will be displayed when the Python script is run from command prompt:
File "C:\NdfConfig\NdfScript.py", line 98
except urllib2.HTTPError, ex:
SyntaxError: invalid syntax
"NdfScript.py" script was run using Python version 3.x
The script has a dependency on Python 2.x version. Due to changes to urllib in Python 3.x the script requires modification to run on Python 3.x.
Locate and download Python 2.x version for your environment, and ensure that your system recognizes files with the .py extension and associates them with the interpreter.
Subscribing will provide email updates when this Article is updated. Login is required to Subscribe
Thanks for your feedback. Let us know if you have additional comments below. (requires login)
This will clear the history and restart the chat.