<div dir="ltr"><br><br><div class="gmail_quote">On Fri, Aug 22, 2008 at 7:46 PM, lawful falafel <span dir="ltr">&lt;<a href="mailto:lawfulfalafel@gmail.com">lawfulfalafel@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">I really like python, but the one thing I really hate is that most of the tutorials treat it like interactive scripting instead of object oriented development, which really confuses me. So basically right now I dont even know what equivelent version of main() I would write. I also dont understand how I could write an accessing method so that I could write Map(1,2), since the only place that deals with arguments is the __init__ function I think, and that doesnt seem to deal with arguments. Any help or links to sites about python and OO stuff would really be appreciated.<br>

</div>
</blockquote></div><br>well, if it helps you feel familiar, you could write:<br><br>def main():<br>&nbsp;&nbsp;&nbsp; # call some functions here<br><br>But in reality, anything that&#39;s not defined in a function will be executed at runtime.<br>
<br>I don&#39;t have much experience with classes, so I&#39;m sure someone else would be of more help there.<br><br>but I hope I&#39;ve helped a bit.<br>-Wayne<br clear="all"><br>-- <br>To be considered stupid and to be told so is more painful than being called gluttonous, mendacious, violent, lascivious, lazy, cowardly: every weakness, every vice, has found its defenders, its rhetoric, its ennoblement and exaltation, but stupidity hasn't. - Primo Levi<br>

</div>