Iam finishing my little database based small project and I need to save current status for next time(The save option :) )
The stuff I want to save is just list of tuples and I have to save:
1. The List of tuple
2. The index of the last element I added

So what is the best way to go? XML or Pickle? or Anything else?
Note: I dont have knowledge on XML .
Cheers :)

Recommended Answers

All 4 Replies

Module pickle will do it faster and easier.
XML format would be used if you want to exchange your data/text with other computer languages. XML looks a lot like HTML, but has more options.

Cool :)
Ready to hear what other says

what is the best way to go? XML or Pickle? or Anything else?

Pickle. XML is way too much overhead for such a simple task.

cool,
I'll go for pickle.
Thanks Guys

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.