I made a file named "Main" in pydev and inside it wrote:
if __name__ =='__Main__':
main()
def main():
print("jargon")
It says my call to main() under the if statement contains an undefined variable and won't compile. Why does it do this?