I am a beginner in Python and have gone through some help material on __ symbol and my question is based on it.
I have executed the following in a Python 3.7 shell / interpreter:
class __:
... def strangeClassName():
... print("Inside a function")
…
inst = __()
which is not problematic at all. However, when I try to access the print statement using the function name(strangeClassName()), I am not able to get it. I mean - not able to see the print's output.
What is happening and how to access the function, as the call inst.strangeClassName did not help!