Nov-21-2017, 06:38 PM
hi,
Like Larz60+ suggested, move onto python3 or 3.6 and learn that.
As for your question, if it is just an exercise in working with dictionaries, heiner55 has everything you need to access some of your data. Another way to approach this would be to use a database, either mysql or nosql, either way, database information is completely invaluable as you will end up working with them at some point. Postgres seems to be a popular choice, but there is also sqlite on the sql side of things, or there is Couchdb or Mongodb on the nosql side of things.
Which ever route you might like to try, a database is definitely the most efficient way to go as you can then pull any data you want in any way which can then be refined in python. It's not hard to build a small scalable command line application from that point.
Like Larz60+ suggested, move onto python3 or 3.6 and learn that.
As for your question, if it is just an exercise in working with dictionaries, heiner55 has everything you need to access some of your data. Another way to approach this would be to use a database, either mysql or nosql, either way, database information is completely invaluable as you will end up working with them at some point. Postgres seems to be a popular choice, but there is also sqlite on the sql side of things, or there is Couchdb or Mongodb on the nosql side of things.
Which ever route you might like to try, a database is definitely the most efficient way to go as you can then pull any data you want in any way which can then be refined in python. It's not hard to build a small scalable command line application from that point.