Why i can't get the values in the items in dir() with loop:
for item in dir():
print(item)
It just print
__builtins__
__doc__
__loader__
__name__
__package__
__spec__
So, how can i use loop to print the value in item, i.e "__main__" in __name__
Thanks!