EDITED - run subprocess instead, but the output will be string.
I\'m writing a python script to automate nmap daily tasks, I\'m using python 3.6 and nmap installed in my