One is a O(1) operation, just asking the operating system to look up a small, fixed number of bytes that was recorded as the file size. The other, instead of doing that, does an O(n) operation and in the worst case could cause your computer to halt because it started using swap and is just going terribly, terribly slow.
Join the #python-forum IRC channel on irc.freenode.net for off-topic chat!
Please prefer not to PM members. The point of the forum is so that anyone can benefit. We don't want to help you over PMs/emails/Skype chats that others can't benefit from