Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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
You can’t perform that action at this time.