<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jan 11, 2013 at 6:01 AM, Rick Johnson <span dir="ltr"><<a href="mailto:rantingrickjohnson@gmail.com" target="_blank">rantingrickjohnson@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Python's module/package access uses dot notation.<br>
<br>
  mod1.mod2.mod3.modN<br>
<br>
Like many warts of the language, this wart is not so apparent when first learning the language. The dot seems innocently sufficient, however, in truth it is woefully inadequate! Observe:<br>
<br>
 name1.name2.name3.name4.name5<br><br></blockquote><div><br></div><div style>I find it reassuring to have these kinds of questions on the list, because they actually remind me how brilliantly designed Python is.</div><div style>
<br></div><div style>As the user of a module I shouldn't care about the internal arrangement of objects and files.  I don't care.  More than that, as the writer of a module I should be free to refactor the internals of a module without breaking existing code.</div>
<div style><br></div><div style>There is absolutely nothing wrong at all with the syntax. In fact, it's fantastic.</div><div style><br></div><div style>N.</div></div></div></div>