搜尋

首頁  >  問答  >  主體

python - 如何循环下输出

fileHandle = open ( 'hello1.txt', 'w' )
fileHandle.write(hello1.text)
fileHandle.close()

fileHandle = open ( 'hello2.txt', 'w' )
fileHandle.write(hello2.text)
fileHandle.close()

fileHandle = open ( 'hello3.txt', 'w' )
fileHandle.write(hello3.text)
fileHandle.close()

.....

.........

如何循环下输出

PHPzPHPz2887 天前413

全部回覆(2)我來回復

  • PHP中文网

    PHP中文网2017-04-17 17:35:28

    雷雷


    雷雷

    回覆
    0
  • 怪我咯

    怪我咯2017-04-17 17:35:28

    雷雷

    回覆
    0
  • 取消回覆