I have a list, I'm trying to write it to a file with new line separators between the items, without a trailing one at the end. Help. #python
@saoili f = open("output", "w") ; f.write("\n".join(["foo", "bar"])) ; f.close() . works for me :)
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
@saoili f = open("output", "w") ; f.write("\n".join(["foo", "bar"])) ; f.close() . works for me :)