python中将字符串转化为本地变量

it2024-10-22  20

var = 123445s= locals()['var']s2=vars()['var']print s,s2

转载于:https://www.cnblogs.com/liguangxu/p/5374548.html

相关资源:各显卡算力对照表!
最新回复(0)