Print function not working

Atri Mahapatra atri.mahapatra at gmail.com
Thu Aug 11 13:03:25 EDT 2016


I have installed IDLE 3.5.1 and wrote the following  to check if print is working. When it runs, I do not see anything is printed:

class Base: #{
    def __init__( self ): #{
        print("Hello, world: \n\n");

        #}

    #}


if ( __name__ == " __main__"): #{
    root = Base();
#}

Can anyone please point out the reason?

Thanks,
Atri



More information about the Python-list mailing list