Python 3 - working with delimiter io