Beginner Question

K-Dawg kdawg44 at gmail.com
Mon Jan 19 20:39:30 CET 2009


Please forgive my beginner question.  I have used python a little bit,
mainly as a scripting language to perform specific administrative tasks.  I
have trying to learn to use it to develop applications but there are a few
things I do not understand.

I come from more of a Java background.

I do no understand the underscore methods.  __main__  - is this just the
main method that is in the file that is actually executed?  I also see
__init__ a lot.  What is that for?  Is it like a constructor in Java or
totally different?

Thanks for clearing it up.  I am undertaking my first application
development effort in python and anticipate discussing this with all of you
a lot.  :)  Thanks for your support.

Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090119/83d5b218/attachment.html>


More information about the Python-list mailing list