0
In the syntax module_name.var , what is var?
4 Respuestas
0
shreya das You can use dir or vars functions.
dir(module_name) ---> list of the variable names.
vars(module_name) ---> dictionary of the variables in name: value format.
+ 1
Var is a property i.e variable or method defined in that module.
ex : from math module
math.PI is constant variable.
math.pow(x,y) is a method..
0
File extension?
Where did you see that?
0
How do I get to know the functions that are already defined in a prefined module?