原文:python 如何把在字符串里面的名字变成变量,进行复制

参考这几篇帖子: https: stackoverflow.com questions using a string variable as a variable name answertab active tab top https: stackoverflow.com questions how do i create a variable number of variables https: ...

2017-06-02 19:08 0 9148 推荐指数:

查看详情

python 字符串复制

通过变量进行赋值 fstr = 'strcpy' sstr = fstr fstr = 'strcpy2' print sstr ...

Sun Aug 11 05:08:00 CST 2013 0 4847
 
粤ICP备18138465号  © 2018-2026 CODEPRJ.COM