Even when I go: import os top = str(os.system("top -n 1 -b")) with open('test.txt', 'w') as write_obj: write_obj.write(top). It just writes:
確定! 回上一頁