Python Forum
Question about working with dictionaries
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question about working with dictionaries
#12
In the meantime there is another use case causing some struggle :(
I want to read the components of an issues and save these components to an one-dictionary list. The problem is: the amount of components within one issue can be flexible.

I can read and display the components for an issue using a

for component in components
(…)
But I do not know how to store it as one-dictionary list?! I tried with append but this does not solve my problem. Can I get another hint from you?
Reply


Messages In This Thread
RE: Question about working with dictionaries - by Ashcora - Dec-27-2022, 08:01 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Quick Question about Dictionaries Extra 6 1,955 Apr-29-2022, 08:34 PM
Last Post: Extra
  Noob question: why is shapesize() not working for my turtle adifrank 8 5,990 Sep-09-2020, 11:13 PM
Last Post: adifrank
  Working with files and dictionaries OmarSinno 1 2,650 Oct-30-2017, 11:02 AM
Last Post: wavic
  Working with dictionaries and keys netrate 9 5,952 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