Python Inline If Syntax Linux