Dir works

to you() 

When takes no parameters and returns the variable in the current scope, the type and method definitions list;

When parameters, returns the attribute parameter list of methods. If the parameter includes a method __dir __ (), which will be called.

Guess you like

Origin www.cnblogs.com/zhangte03/p/11305570.html