I have a problem that the program throws this error: ImportError: cannot import name 'idkom' from partially initialized module 'idkom' (most likely due to a circular import) (d: \ Python \ Crystalia \ idkom.py)
These are both codes
from idkom import idkom
class Setup:
def __init __ (self):
self.Idkom = idkom (self)
while True:
self.Idkom.print ()
And the second
from setup import setup
class idkom:
def __init __ (self):
self.Setup = setup (self)
def print (self):
print ("Hello")