For example: the following code
# Instantiate FTP handler class
Handler=FTPHandler
Handler. The authorizer=authorizer
Not should add parentheses after FTPHandler?
CodePudding user response:
For example you see which is instantiated:
class clsTest () :
Y='
Def __init__ (self) :
The self. The y='you'
X=clsTest
Print (x.y)
X=clsTest ()
Print (x.y)
CodePudding user response: