Skip to content

Instantly share code, notes, and snippets.

...................................................................................................#
...............................................................................................#####
..........................................................................................##########
.....................................................................................###############
................................................................................####################
..........................................................................##########################
......................................................................##############################
.................................................................###################################
...........................................................#########################################
.......................................................#############################################
@thejoshwolfe
thejoshwolfe / diff_json.py
Created January 25, 2013 05:08
json object diff
#!/usr/bin/env python
import sys
import json
def diff_objects(left, right):
if not (type(left) == type(right) == dict):
return right
result = {}
keys = set()
#!/usr/bin/env python
"""\
looks for non-utf8, windows-style encodings in filenames and fixes them.
"""
__version__ = "0.0"
import os, sys