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