>>>user "{'a':'b'}" >>>b = eval(user) >>>b {'a':'b'} 转载于:https://www.cnblogs.com/Blaxon/p/4466342.html