Check if a text file is empty in Python

后端 未结 0 1594
一个人的身影
一个人的身影 2020-12-05 05:31

I\'m writing a program that uses exceptions to handle errors from multiple text files, one of which being empty. If it\'s empty, I need to print out a statement saying said

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