More Python syntax work