Converts a new line to a comma with Python. Helpful for making super long arrays from files.