<div dir="ltr"><div><div><div><div><div><div>Hi Douglas,<br><br>There's a nice entry in the FAQ here: <a href="http://matplotlib.org/faq/usage_faq.html#matplotlib-pyplot-and-pylab-how-are-they-related" target="_blank">http://matplotlib.org/faq/usag<wbr>e_faq.html#matplotlib-pyplot-<wbr>and-pylab-how-are-they-related</a><br></div><br></div>My understanding is that pylab isn't a dependency, but a convenience package that imports numpy and pyplot functions into the main namespace. I think pylab was important when the scientific python community was young and most new users were coming from Matlab. Now it's just cruft. <br><br></div>In general python packages can install dependencies. For example, the date-parsing package 'arrow' requires the package 'dateutil'. Here's the line in arrow's setup.py specifying that dependency: <a href="https://github.com/crsmithdev/arrow/blob/master/setup.py#L40" target="_blank">https://github.com/crsmithdev/<wbr>arrow/blob/master/setup.py#L40</a> so if you `pip install arrow` you end up with dateutil as well.<br></div><div><br></div>You might be interested in exploring dependencies with this tool: <a href="https://pypi.python.org/pypi/pipdeptree" target="_blank">https://pypi.python.org/pypi/<wbr>pipdeptree</a><br><br></div>Cheers!<br></div>Kyler<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 13, 2017 at 11:05 PM, Lewit, Douglas <span dir="ltr"><<a href="mailto:d-lewit@neiu.edu" target="_blank">d-lewit@neiu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><font size="4">Hello to all Pythonistas in the Chicago area.</font><div><font size="4"><br></font></div><div><font size="4">I just completed the first of two MIT online courses in Python, and I was very impressed with the quality of this course.  My only criticism is that it seemed that a little too much time was given at the beginning of the course for assignments, and by the end of the course not enough time was given for the completion of programming assignments, exercises, etc, but of course this is very often the case in many courses, whether they are online or in a classroom.  But in general I thought this course was really good.  The video lectures were fantastic, the problem sets were highly instructive and thought provoking, and I learned a lot about Python and programming in general.  Excellent course.  I highly recommend it to anyone who is just starting out with Python, and even experienced Python programmers might benefit from a course such as this one.  The discussion forum was also pretty good, although I didn't really take advantage of it very much.</font></div><div><font size="4"><br></font></div><div><font size="4">On a different topic.... I just got done installing Python3.6 on my Linux machine using <b>./configure</b>, then <b>make</b>,<b> </b>and then <b>sudo make install</b>.  It worked great, no problems.  Then I used <b>pip3.6</b> to install the following packages: <b>numpy</b>, <b>scipy</b> and also <b>matplotlib</b>.  What's rather curious to me is that the <b>pylab</b> package also got installed!  But I didn't use pip to install that package.  I think it just "piggy backed along" when I installed matplotlib.  Is that normal behavior?  Can explicitly requested packages implicitly request other packages when those packages serve as dependencies?  <i><u>I'm guessing that pylab is a dependency for matplotlib</u></i>, hence when I requested matplotlib, pip had to implicitly request the installation of pylab as well, but here I'm just guessing.  My installation "appears to be" pretty good, but.... I'm not extremely experienced with installing stuff on Linux so I thought it might be a good idea to get some advice from the Python pros out there.</font></div><div><font size="4"><br></font></div><div><font size="4">Thanks in advance for the constructive feedback and I pray that everyone has a wonderful, peaceful and productive week.</font></div><div><font size="4"><br></font></div><div><font size="4">Best,</font></div><div><font size="4"><br></font></div><div><font size="4">Douglas Lewit</font></div><div><font size="4"><br></font></div><div><font size="4"><br></font></div></div>
<br>______________________________<wbr>_________________<br>
Chicago mailing list<br>
<a href="mailto:Chicago@python.org">Chicago@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/chicago" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/chicago</a><br>
<br></blockquote></div><br></div>