import sys i, o, e = sys.stdin, sys.stdout, sys.stderr from scapy.all import * sys.stdin, sys.stdout, sys.stderr = i, o, e