from scapy.all import *
target = ['192.168.1.254']
result, unans = traceroute(target, l4=UDP(sport=RandShort()) / DNS(qd=DNSQR
    (qname='www.google.com')))
How can I perform a ping or traceroute using native python?