action = path.strip('/')
args = fullArgs.split('&')
params = {}
for arg in args:
    key, value = map(urllib.parse.unquote, arg.split('=', 1))
params[key] = value
OSX : Defining a new URL handler that points straight at a Python script