Skip to content

Instantly share code, notes, and snippets.

@tuttelikz
Created January 18, 2018 13:00
Show Gist options
  • Save tuttelikz/1e5aa5592a2184c69ff8c70186ac111e to your computer and use it in GitHub Desktop.
Save tuttelikz/1e5aa5592a2184c69ff8c70186ac111e to your computer and use it in GitHub Desktop.
This is a python script to write list characters into file
thefile = open('train_test_data_labels.txt', 'w')
for item in y_train_test_list:
thefile.write("%s\n" % item)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment