Is there a way to recognise an IP address or a MAC address in a list in Python?

前端 未结 0 1527
予麋鹿
予麋鹿 2020-12-08 17:49

I have a list containing the data of a command. There is always 3 elements in this list :

> print (command)
[\'ip1\', \'mac1\', \'name1\']

相关标签:
回答
  • 消灭零回复
提交回复
热议问题