通过变量来进行赋值 fstr = 'strcpy' sstr = fstr fstr = 'strcpy2' print sstr 转载于:https://www.cnblogs.com/wanpython/p/3250697.html