Skip to main content
Stack Overflow
  1. About
  2. For Teams

Timeline for calling a method inside a class-Python

Current License: CC BY-SA 3.0

12 events
when toggle format what by license comment
Jun 2, 2017 at 4:09 vote accept mathers25
Jun 2, 2017 at 4:06 comment added mathers25 @crazyglasses i guess that's why he calls himself TheDarkKnight πŸ˜…
Jun 1, 2017 at 11:35 comment added crazyglasses Haha. The @TheDarkKnight turns out of nowhere.
Jun 1, 2017 at 7:28 comment added mathers25 @TheDarkKnight sure I will!
Jun 1, 2017 at 7:23 comment added crazyglasses No problem. Glad I could be of help! :)
Jun 1, 2017 at 7:22 comment added mathers25 thanks @crazyglasses.I would have upvoted your ans but i've a reputation below 15.
Jun 1, 2017 at 7:18 comment added crazyglasses Sorry I missed that, now I have edited so I can initialize it without having to pass it any parameter.
Jun 1, 2017 at 7:17 history edited crazyglasses CC BY-SA 3.0
added 15 characters in body
Jun 1, 2017 at 7:17 comment added mathers25 And here you've created a TimeObject but it has to be initialised,otherwise it would give an error.
Jun 1, 2017 at 7:16 comment added crazyglasses No. start and running are objects of your class time. To access the add_time method of the class Time, you need another object and hence I have created a TimeObject just to access the add_time method. However I suggest you make the add_time method independant and rest can be within the class.
Jun 1, 2017 at 7:11 comment added mathers25 one question.Now according to your code all the methods standalone?right?
Jun 1, 2017 at 7:08 history answered crazyglasses CC BY-SA 3.0

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /