wayne 我的陋室我做主

上善若水,大智若愚 视远为明,听德为聪

菜鸟学Python(16):一些奇技(持久更新中)

1.eval的使用.偷师自ZP的代码:)>>> a = {q:2,d:3}>>> eval("a[q" + "]")2>>> 非常有用的技巧,比如对象a有属性name,这时候外面想到得到a的name属性,...

2008-06-06 13:01:00

阅读数:1616

评论数:3

hey,I am back!

Three Months,short?long?For mans whole life,its not long,however,it is enough to change many things and people.Compared to three months ago,less blin...

2008-06-06 12:57:00

阅读数:1502

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭