Skip to content

Instantly share code, notes, and snippets.

Bartosz "mastier" Woronicz mastier

Block or report user

Report or block mastier

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
# useful way to flatten dictionary representing i.e. path to file and content
# now fixed in case of running it again
def flatten_dict(d,path=(),paths=None, sep='/'):
if paths==None: paths=[]
if isinstance(d,dict):
for k,v in d.items():
return paths
You can’t perform that action at this time.