文件部分基本操縱在ipython和python中的區別

背景 win10, anaconda 4.8.3, python 3.8.3, ipython 7.16.1 在ipython 和 python下分別進行f=open(‘workfile.txt’, ‘rb+’)後, 進行f.seek(), f.read(), f.tell()操作 在ipython環境下運行幾個文件讀、寫、改變位置的命令時, ipython時常會伴有異常退出的提示,見圖片 解決辦
相關文章
相關標籤/搜索