I want to put rest api output to a file with python script.
test1.py - python script
import urllib.request
abc = urllib.request.urlopen('http://xxxxxxx')
print(abc.read())
Python code is fine.
but An error occurs in nifi.
ImportError: No module named request in at line number 1
what should i do?
What's the problem? Is it a Jython problem? How can I solve this?
please help me thank you.



