This is a keyword to Python that says, when it reads this in the file, it says, I'm creating a definition.
这是Python语言的关键词,当你在文件中读到这个词的时候,它的意思就是我正在创建一个定义。
And what you mean when you say that is "make sure"
当你这么说的时候,你想表达的意思是“确保”,
Notice that that typically also defines for me what the internal variables are, what the internal characteristics of the class are going to be.
就放进去是比较好的,我写下了init声明意思就是,当你创建一个实例的时候,这就是你要进行的操作。
When you say, "what do you say", you don't mean literally "what have you said", "what do you speak".
当你说,“what do you say”的时候,你并不是像字面意思那样要询问“你说了什么”,“你在说什么”,
Meaning, sometimes you need to do this, but in general there's at least in my view and I don't, John you just don't want to do this.
意思也就是,有的时候你不得不这么做,但是通常来说,至少我认为不该这么做,你同意这么做么?--,John,,would,you,agree?—,你不该这么做。
应用推荐