PathDict icon indicating copy to clipboard operation
PathDict copied to clipboard

Easily query and modify Python dicts!

Results 7 PathDict issues
Sort by recently updated
recently updated
newest added

Hey! Great work here! Read the source and noticed pop wasn't implemented as a python dictionary's pop method. Any idea of a work around here? Essentially trying to rename a...

Change copy() spec. Instead of allowing the from_root argument, we should just have a .cop() method without any arguments. This will copy at the current path. and return a handle...

First, I appreciate the work you've put into this. But, frankly, I don't know if this is something I could see myself using. The main reason being that it introduces...

It might be worth documenting some of the edge cases, like what to use if any of the keys are tuples or the string "*", or how to insert a...

https://code.activestate.com/recipes/578644-wrist-friendly-dictionary/ ```python class easyaccessdict(dict): def __getattr__(self, name): return self[name] def __setattr__(self, name, value): super().__setitem__(name,value) def __missing__(self, name): super().__setitem__(name, easyaccessdict()) return super().__getitem__(name) ``` ```python >>> d= easyaccessdict() >>> d {} >>>...