Answers for "how to get ipconfig from python"

1

how to get ipconfig from python

import os 
commend = ipconfig\input(give me a commend)
res = os.popen(commend)
print(res.read)
Posted by: Guest on July-13-2021

Code answers related to "how to get ipconfig from python"

Python Answers by Framework

Browse Popular Code Answers by Language