我已经从列表中动态地创建了dict:
<services>
<!-- The namespace appears in the 'name' attribute -->
<service name="Your.Namespace.ConcreteClassName">
<endpoint address="http://localhost/YourService.svc"
binding="basicHttpBinding" bindingConfiguration="NewBinding1"
contract="Your.Namespace.IConcreteClassName" />
</service>
</services>
我尝试从字符串中获取对象:
exec("mydict_%=%" % (key, value))
有解决方案吗?