首页
Python
Java
PHP
IOS
NodeJS
JavaScript
HTML5
小程序
AI
genreDictionary
全部标签
Python将字典转换为元组
如何将字典转换为元组?下面是我的动态字典。genreOptions=GenreGuideServiceProxy.get_all_genres();genreDictionary={};forgenreingenreOptions:genreDictionary[genre.name]=genre.name; 最佳答案 tuples=genreDictionary.items()参见http://docs.python.org/library/stdtypes.html#dict.items
Python
将
section
genreDictionary
code
django-forms
Home
Powered By IT.CAOLU.XIN
页面耗时:0.0584s