Python Forum
Question about working with dictionaries
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question about working with dictionaries
#4
You seem to know how to create a dictionary, given that's what you're doing with issue_dict above.

Just do the same kind of thing for your components, don't create strings.

A string is not a dictionary. That's why you get the error you do (it's referring to objects because that's what dictionaries are called in JSON,which is the format used under the hood).
Reply


Messages In This Thread
RE: Question about working with dictionaries - by ndc85430 - Dec-24-2022, 09:52 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Quick Question about Dictionaries Extra 6 3,050 Apr-29-2022, 08:34 PM
Last Post: Extra
  Noob question: why is shapesize() not working for my turtle adifrank 8 9,359 Sep-09-2020, 11:13 PM
Last Post: adifrank
  Working with files and dictionaries OmarSinno 1 3,304 Oct-30-2017, 11:02 AM
Last Post: wavic
  Working with dictionaries and keys netrate 9 7,586 Jun-01-2017, 05:29 AM
Last Post: wavic

Forum Jump:

User Panel Messages

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