Jason Cunliffe <jasonic at nomadicsltd.com> wrote: : A web input form passes {'name':'Cleopatra'} as a string. : Please, is there a nice clean function to convert this string to a dict? maybe not clean, but try dict = eval("{'name':'Cleopatra'}") -- ----------------------------------------------------------- | Radovan Garabik http://melkor.dnp.fmph.uniba.sk/~garabik | | __..--^^^--..__ garabik @ fmph . uniba . sk | ----------------------------------------------------------- Antivirus alert: file .signature infected by signature virus. Hi! I'm a signature virus! Copy me into your signature file to help me spread!
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4