kuroko/test/testModuleName.krk

5 lines
135 B
Python
Raw Permalink Normal View History

if __name__ == '__main__':
print("You called me directly!")
else:
print("My name is",__name__,"so I must have been imported.")