Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
我这里只是展示了读文件,但是它返回一直为空,TXT文件里面是一串数字
number = 1 fo = uio.open("/keypoints/s1/bill1.txt" ,"r+" ) fo.seek(0) balance = fo.read(3).encode('utf-8') fo.close() print(balance) balance = int(balance)
解决 去掉UIO