I have text file, how check whether it's empty or not?
For safety you may need to catch `OSError` and return False.
KennyTM
2010-03-24 13:09:18
that's fine too. but i don't want to import stat. Its short and sweet enough and the size position in the returned list is not going to change anytime soon.
ghostdog74
2010-03-24 13:48:56