Python Forum
Modifying a dictionary recursively
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Modifying a dictionary recursively
#1
Hi everyone,

I have a "nested" dictionary that can contain either dict, or list, tuple, string (and all that nested or not)

I create a recursive function and for the str, list,values of the main dict there no problem.

But I can't figure how to process the nested dict..

any idea where to look ?

Thanks.
[Image: NfRQr9R.jpg]
Reply


Messages In This Thread
Modifying a dictionary recursively - by SpongeB0B - May-12-2024, 03:38 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to return the next page from json recursively? sandson 0 1,260 Apr-01-2022, 11:01 PM
Last Post: sandson
  Help Needed | Read Outlook email Recursively & download attachment Vinci141 1 4,241 Jan-07-2022, 07:38 PM
Last Post: cubangt
Star Recursively convert nested dicts to dict subclass Alfalfa 1 3,041 Jan-22-2021, 05:43 AM
Last Post: buran
  Python script that recursively zips folders WITHOUT nesting the folder inside the zip umkc1 1 3,047 Feb-11-2020, 09:12 PM
Last Post: michael1789
  How to get full path of specified hidden files matching pattern recursively SriRajesh 4 4,140 Jan-18-2020, 07:12 PM
Last Post: SriRajesh
  Find a given file recursively inside a directory alinaveed786 1 2,046 Jul-01-2019, 01:53 PM
Last Post: ichabod801
  Call functions recursively in tree structure using python dubru 1 2,407 Feb-15-2019, 06:43 PM
Last Post: nilamo
  Help on adding two lists recursively Metalman488 3 4,291 Sep-16-2018, 08:10 PM
Last Post: Metalman488
  scandir() recursively and return path + filename malonn 6 17,880 May-09-2018, 03:45 PM
Last Post: wavic
  Recursively create a file digitalquake 19 15,222 Dec-07-2016, 06:08 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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