Ruby is much more elegant in that everything is an object.and I thought I would explain Python files a little just in case someone else makes the same mistake. (And by the way, everything in Python is an object, too.)In Python, the open() function is actually an alias for the file() constructor.