Python Forum
Pulling any information from a dictionary with a user input
Thread Rating:
  • 2 Vote(s) - 2.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pulling any information from a dictionary with a user input
#4
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.
Reply


Messages In This Thread
RE: Pulling any information from a dictionary with a user input - by iFunKtion - Nov-21-2017, 06:38 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  User Input to mySQL database newbie1 3 4,326 Aug-26-2020, 10:42 AM
Last Post: newbie1
  Download images generated by user input one_of_us 0 2,561 Mar-26-2019, 07:58 AM
Last Post: one_of_us
  Flask: Cookies for Saving User Input ? jomonetta 2 3,613 Nov-03-2018, 10:47 AM
Last Post: j.crater
  Can not get information from User o0TarZan0o 5 5,125 Feb-16-2017, 06:27 PM
Last Post: metulburr

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020