I need to return the answer of CMD command to a variable in Python, I've try using a some OS modules but nothing them work propely.
E.G TASKLIST, I need return all data in CMD to a variable in Python, can be any command, just need the value
arp_inf = command(arp -a 192.168.100.1)
print(arp_inf) # Ip Adress 192.168.100.1 Phisic Adress.....