You need to import `sys`, don't you?