生活聚焦
lifefocus
全部博文(265)
2011年(1)
2010年(66)
2009年(198)
山定子
李行行丶
可怜的猪
snakejh
anvin8
jacob_wo
Alex_Liu
KAKA55
cynthia
格伯纳
分类: LINUX
2010-06-10 11:32:48
#!/usr/bin/env python a="a_content" b="b_content" param = {'a': "a_xx", 'b': "b_xx"} print "param:", param print "orignal a,b:", a, b for i in param: locals()[i] = param[i] print "locals a,b:", a, b for i in param: vars()[i] = param[i] print "vars a,b:", a, b
上一篇:Linux Kickstart无人值守安装
下一篇:Feature: High Memory In The Linux Kernel
登录 注册