Class Script:
class Test2:
def __init__(self):
self.a=10
self.sq()
def sq(self):
print(self.a*2)
def call_later(self):
print("Called Later")
Calling Function from another script:
from test2 import *
import time
Test2()
time.sleep(30)
#I want to call this function without creating the object again
Test2.call_later()
How do I call a class function later on after the object has been created?