Passing an object as argument in function python

前端 未结 0 1270
星月不相逢
星月不相逢 2021-02-01 13:13

I\'m trying to pass an object clock() as an argument in function callClock()

class Clock():
   def initClock(self):
       doSomeStuff....

clock = Clock()
global         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题