Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Unexpected behavior appending to a List of Dictionaries
Post: RE: Unexpected behavior appending to a List of Dic...

(Apr-03-2018, 12:39 AM)scidam Wrote: You need to read about mutable and immutable objects in Python. Dictionaries are mutable objects, so they could be changed in-place: Thank you very much, Tim
Nomad General Coding Help 2 2,729 Apr-03-2018, 04:22 AM
    Thread: Unexpected behavior appending to a List of Dictionaries
Post: Unexpected behavior appending to a List of Diction...

Hi all I am getting unexpected behavior when appending a Dictionary to a List of Dictionaries. If I define the dictionary variable in one go, and then append it to the list - it is successful If I de...
Nomad General Coding Help 2 2,729 Apr-03-2018, 12:08 AM

User Panel Messages

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