locals: 函数会以字典的类型返回当前位置的全部局部变量. globals: 函数会以字典的了类型返回全部的全局变量. a = def func(): b = print(locals()) print(globals()) func() 字符串类型的代码执行:eval, exec, complie eval: 执行字符串类型的代码,并返回最终结果. print(eval( n = print(eval( eval( exec:执行字符串类型的代码: s = ''' for i in […
A man is not old as long as he is seeking something. A man is not old until regrets take the place of dreams.(J.Barrymore)只要一个人还有追求,他就是没有老.直到后悔取代了梦想,一个人才算老(巴里摩尔). As a result ,it took them longer than usual to get to school .最后,他们到达学校所用的时间比往常还要久. 1.N…
转自:https://www.kernel.org/pub/linux/docs/lanana/device-list/devices-2.6.txt LINUX ALLOCATED DEVICES (2.6+ version) Maintained by Torben Mathiasen <device@lanana.org> Last revised: 25 January 2005 This list is the Linux Device List, the official regi…