Apr-03-2017, 12:02 AM
As @ichabod801 said, your code is only a definition of a class. You have to create an instance to this class in order to use it. As he did.
Python classes and init method
|
Apr-03-2017, 12:02 AM
As @ichabod801 said, your code is only a definition of a class. You have to create an instance to this class in order to use it. As he did.
|
|
Messages In This Thread |
Python classes and init method - by Alaweey98 - Apr-02-2017, 06:58 PM
RE: Python classes and init method - by ichabod801 - Apr-02-2017, 07:28 PM
RE: Python classes and init method - by Alaweey98 - Apr-02-2017, 07:35 PM
RE: Python classes and init method - by ichabod801 - Apr-02-2017, 07:36 PM
RE: Python classes and init method - by Alaweey98 - Apr-02-2017, 07:44 PM
RE: Python classes and init method - by wavic - Apr-02-2017, 07:57 PM
RE: Python classes and init method - by Alaweey98 - Apr-02-2017, 08:03 PM
RE: Python classes and init method - by wavic - Apr-02-2017, 08:15 PM
RE: Python classes and init method - by ichabod801 - Apr-02-2017, 10:32 PM
RE: Python classes and init method - by wavic - Apr-03-2017, 12:02 AM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Python networking vs classes | blackknite | 4 | 2,855 |
Oct-15-2018, 02:44 PM Last Post: blackknite |