Your function expects an argument
That said, there are also other problems - e.g. when using ThreadPoolExecutor.
def scan(ip):
, then at the end you have scan()
, i.e. you don't supply the expected argument. What do you expect to happen?That said, there are also other problems - e.g. when using ThreadPoolExecutor.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs