0

How to save multiple input data into python file

Hi, I want to create an offline application using python 3.5. This application will take lots of input like name, age, place and height of people. So how do I save all the data into the program, so I can use it next time I open the application

6th Apr 2017, 1:19 PM
pavan jain
pavan jain - avatar
1 Antwort
+ 4
You have to store it in a file, I guess... Take a look on how to write to files: https://code.sololearn.com/c4AWEdTM7HeT/?ref=app You can also use a pickle module, it's great for storing and re-storing different types of data in a file: https://code.sololearn.com/cNXRdhIOg17U/?ref=app
6th Apr 2017, 1:28 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar