import re
arr = re.findall("-(.*?)<(.*?)>", "-user <username> -id <userid> -sub <subname>")
for x in arr:
print "\"" + x[0].strip() + "\" : ", x[1].strip()
aW1wb3J0IHJlCmFyciA9IHJlLmZpbmRhbGwoIi0oLio/KTwoLio/KT4iLCAiLXVzZXIgPHVzZXJuYW1lPiAtaWQgPHVzZXJpZD4gLXN1YiA8c3VibmFtZT4iKQoKZm9yIHggaW4gYXJyOgoJcHJpbnQgIlwiIiArIHhbMF0uc3RyaXAoKSArICJcIiA6ICIsIHhbMV0uc3RyaXAoKQ==