Sep-19-2020, 09:12 AM
The message is quite clear. test_dict is a dictionary. So a valid operation is: test_dict.items(). But test_dict['setFiniteOperations'] is a list. So you cannot apply items() on that.
Split dict of lists into smaller dicts of lists.
|
|
Messages In This Thread |
Split dict of lists into smaller dicts of lists. - by pcs3rd - Sep-18-2020, 02:11 PM
RE: Split dict of lists into smaller dicts of lists. - by buran - Sep-18-2020, 02:19 PM
RE: Split dict of lists into smaller dicts of lists. - by pcs3rd - Sep-18-2020, 05:00 PM
RE: Split dict of lists into smaller dicts of lists. - by ibreeden - Sep-19-2020, 09:12 AM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Compare lists | w_i_k_i_d | 4 | 172 |
Yesterday, 04:03 PM Last Post: Pedroski55 |
|
Using Lists as Dictionary Values | bfallert | 8 | 501 |
Apr-21-2024, 06:55 AM Last Post: Pedroski55 |
|
problem with print lists | MarekGwozdz | 4 | 778 |
Dec-15-2023, 09:13 AM Last Post: Pedroski55 |
|
python convert multiple files to multiple lists | MCL169 | 6 | 1,681 |
Nov-25-2023, 05:31 AM Last Post: Iqratech |
|
Lists | blake7 | 6 | 876 |
Oct-06-2023, 12:46 PM Last Post: buran |
|
Trying to understand strings and lists of strings | Konstantin23 | 2 | 842 |
Aug-06-2023, 11:42 AM Last Post: deanhystad |
|
Why do the lists not match? | Alexeyk2007 | 3 | 889 |
Jul-01-2023, 09:19 PM Last Post: ICanIBB |
|
''.join and start:stop:step notation for lists | ringgeest11 | 2 | 2,487 |
Jun-24-2023, 06:09 AM Last Post: ferdnyc |
|
Need help with sorting lists as a beginner | Realist1c | 1 | 796 |
Apr-25-2023, 04:32 AM Last Post: deanhystad |
|
Pip lists the module but python does not find it | Dato | 2 | 1,345 |
Apr-13-2023, 06:40 AM Last Post: Dato |