-7

I am needing help with this as i am using it in part of my test and i would also like to use it to create a save file for a python game.

cyprieng
  • 706
  • 6
  • 16
  • One word: `pickle`... – Willem Van Onsem Mar 01 '17 at 10:45
  • You wil have to elaborate your question. Please browse around for other questions to see how they are formulated - Also, readign and writting files in Python is part of the very basics of the language. Choosing a data format tosave yur data on, depends on what you need to be saved. – jsbueno Mar 01 '17 at 12:37
  • i am saving a list which contains str and i dont want to convert the entire list to an str – Billy Hargreaves Mar 03 '17 at 13:30

1 Answers1

1

As already suggested by Willem Van Onsem - take a look at pickle library. It is a standard library and u can use it to save objects into a file and load back later.

alleby
  • 61
  • 1
  • 6