Print module infomation,moduleinfomation,//File: modu
文章由Byrx.net分享于2019-03-23 07:03:05
Print module infomation,moduleinfomation,//File: modu
//File: module2.pyprint 'starting to load...'import sysname = 42def func(): passclass klass: passprint 'done loading.'/////////////////////////////////////////////////////////////////////////////////////Main.pyimport module2starting to load...done loading.module2.sysprint module2.nameprint module2.func, module2.klassprint module2.__dict__.keys()
相关内容
- split and join,splitjoin,s = 'this
- Handling Exceptions,handlingexceptions,# It is poss
- Set font from Root component,fontcomponent,from Tkinter
- Math: abs and pow,mathabsandpow,import mathp
- Assigning Consecutive Values,,print range(
- String Simple Conversion:,simpleconversion,# The simple
- Import enclosing module,importenclosing,X = 99def se
- Arc with start degree and end degree,arcdegree,from Tkinter
- Output exception arguments, string representation of exception,and th
- Recursive definition of function factorial,recursivefactorial,def f
评论关闭