Movatterモバイル変換


[0]ホーム

URL:


converting string to dict ?

Oleg Broytmannphd at phd.fep.ru
Wed Apr 11 06:42:24 EDT 2001


On Wed, 11 Apr 2001, Jason Cunliffe 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?   "eval"   Please, please send me your URL - I will hack you through your call to theeval! :)))   Seriously, do not trust ANYTHING from the web. Do not convert thingsinto objects, do not eval them - NEVER!Oleg.----     Oleg Broytmannhttp://phd.pp.ru/phd at phd.pp.ru           Programmers don't die, they just GOSUB without RETURN.


More information about the Python-listmailing list

[8]ページ先頭

©2009-2025 Movatter.jp