看板 [ Python ]
討論串[問題] command line 印出字串(固定位置)
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓1(1推 0噓 2→)留言3則,0人參與, 最新作者sbrhsieh (偶爾想擺爛一下)時間15年前 (2010/01/22 13:35), 編輯資訊
0
0
2
內容預覽:
Unix 系列的平台上可以使用 curses module。. http://docs.python.org/library/curses.html#module-curses. Windows 平台可以透過 ctypes 來調用 kernel32 裡控制 console 的 API。. 底下是一些
(還有2個字)

推噓2(2推 0噓 12→)留言14則,0人參與, 最新作者rorp (RORP)時間15年前 (2010/01/22 12:57), 編輯資訊
0
0
0
內容預覽:
請問一下各位高手,. 假如我想要在命令提示字元輸出字串. 字串會隨著迴圈更新. 例如:. for n in range(1,200):. print 'number:',n. 結果是:. number: 1. number: 2. number: 3. .. .. .. 可是這樣不好看,假如我更新2
(還有38個字)
首頁
上一頁
1
下一頁
尾頁