1 549 192.168.202.202
2 337 192.168.204.174
3 403 192.168.204.187
4 532 192.168.207.110
5 400 192.168.204.190
6 531 192.168.203.37
7 341 192.168.204.196
8 645 192.168.201.243
9 583 192.168.202.160
10 618 192.168.203.226
有上面的csv,需要用python轉化成下面的文本,該怎麼寫
第二列機器編號寫成Host,第三列ip寫到HostNmae
Host 549
HostName 192.168.202.202
user pythonman
Host 337
HostName 192.168.204.174
user pythonman
Host 403
HostName 192.168.204.187
user pythonman