赞
踩
- #获取所需操作服务器
- version_list = request.REQUEST.get("version_list").encode('utf-8', 'ignore')
- print version_list,type(version_list)
- ["19","15"] <type 'str'>
-
- #unicode-转字符串-转列表
- files = version_list.replace('[', '').replace(']', '')
- print files,type(files)
- "19","15" <type 'str'>
-
-
- files_List = files.split(',')
- print files,type(files)
- ['"19"', '"15"'] <type 'list'>
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。