Saving print output to file using sys module, but block continues to run without stopping

前端 未结 0 532
暗喜
暗喜 2021-02-02 08:21
import sys
sys.stdout=open("summary2.txt","w+")
print(\'total genes\',Signature_1, len(NameA))
print(\'up genes\',Signature_1,len(upA))
print(\'down          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题