<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6026394857455221289</id><updated>2024-10-04T23:06:49.905-04:00</updated><category term="IPython"/><category term="IPython cell magics"/><category term="IPython help"/><category term="IPython line magics"/><category term="IPython magic functions"/><category term="distribute"/><category term="downloading and installing IPython"/><category term="engineers"/><category term="mathematical software"/><category term="mathematicians"/><category term="pyreadline"/><category term="scientists"/><title type='text'>IPYTHON</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ipythonelcric.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6026394857455221289/posts/default'/><link rel='alternate' type='text/html' href='http://ipythonelcric.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Ron Tinnel</name><uri>http://www.blogger.com/profile/12620656110056475098</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6026394857455221289.post-469586679503876692</id><published>2012-09-19T02:20:00.002-04:00</published><updated>2013-03-03T18:54:20.937-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="distribute"/><category scheme="http://www.blogger.com/atom/ns#" term="downloading and installing IPython"/><category scheme="http://www.blogger.com/atom/ns#" term="engineers"/><category scheme="http://www.blogger.com/atom/ns#" term="IPython"/><category scheme="http://www.blogger.com/atom/ns#" term="IPython cell magics"/><category scheme="http://www.blogger.com/atom/ns#" term="IPython help"/><category scheme="http://www.blogger.com/atom/ns#" term="IPython line magics"/><category scheme="http://www.blogger.com/atom/ns#" term="IPython magic functions"/><category scheme="http://www.blogger.com/atom/ns#" term="mathematical software"/><category scheme="http://www.blogger.com/atom/ns#" term="mathematicians"/><category scheme="http://www.blogger.com/atom/ns#" term="pyreadline"/><category scheme="http://www.blogger.com/atom/ns#" term="scientists"/><title type='text'>DOWNLOADING AND INSTALLING IPYTHON</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;title&gt;DOWNLOADING AND INSTALLING IPYTHON TUTORIAL&lt;/title&gt;
&lt;br /&gt;
&lt;div class=&quot;g-plusone&quot; data-annotation=&quot;inline&quot; data-width=&quot;300&quot;&gt;
&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
  (function() {
    var po = document.createElement(&#39;script&#39;); po.type = &#39;text/javascript&#39;; po.async = true;
    po.src = &#39;https://apis.google.com/js/plusone.js&#39;;
    var s = document.getElementsByTagName(&#39;script&#39;)[0]; s.parentNode.insertBefore(po, s);
  })();
&lt;/script&gt;

&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;form&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: xx-small;&quot;&gt;&lt;input onclick=&quot;window.location.href=&#39;http://www.elcricottocircle.blogspot.com/&#39;&quot; type=&quot;BUTTON&quot; value=&quot;HOME PAGE&quot; /&gt;&lt;/span&gt;
&lt;/form&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;b style=&quot;color: red;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: xx-small;&quot;&gt;REVISED: Sunday, March 3, 2013&lt;/span&gt;&lt;/b&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: 800;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQ7cxhHYa4tEhntFeHxkQgI96jo-SwJ9XXLiLOw1dFqYTgX6OQj6KWLHtL1cVKCCpWjgyLUorKpp9ee1_E21mNfM92FHU-YZL-ZEncs8mjQjci0vaV7D8bxp48GLls-pFf6iZemDFbGFc/s1600/avatar.gif&quot; imageanchor=&quot;1&quot; style=&quot;font-weight: bold; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQ7cxhHYa4tEhntFeHxkQgI96jo-SwJ9XXLiLOw1dFqYTgX6OQj6KWLHtL1cVKCCpWjgyLUorKpp9ee1_E21mNfM92FHU-YZL-ZEncs8mjQjci0vaV7D8bxp48GLls-pFf6iZemDFbGFc/s1600/avatar.gif&quot; /&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: magenta; font-family: Verdana, sans-serif;&quot;&gt;In this tutorial, you will learn how to download &amp;nbsp;and install, IPython.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: magenta; font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;I. &amp;nbsp;IPYTHON INTRODUCTION&lt;/b&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;Creating a comprehensive environment for interactive and exploratory computing&amp;nbsp;&lt;/b&gt;&lt;b&gt;is the goal of IPython&lt;/b&gt;&lt;b&gt;. IPython is more than mathematical software for&amp;nbsp;&lt;/b&gt;&lt;b&gt;mathematicians,&amp;nbsp;&lt;/b&gt;&lt;b&gt;scientists, and engineers. T&lt;/b&gt;&lt;b&gt;o start using IPython,&amp;nbsp;&lt;/b&gt;&lt;b&gt;you do not need to know anything beyond Python, just type commands as you would at a standard Python prompt.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;II. DOWNLOADING AND INSTALLING IPYTHON&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Microsoft Windows users frequently have a problem downloading and installing IPython.&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;Before performing downloads and installations&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;read each download site&#39;s information very carefully .&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-weight: bold;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;A. distribute&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Distribute is the standard method for working with Python module distributions&lt;/b&gt;&lt;b&gt;.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;To download &quot;distribute&quot; click on the following link:&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;http://pypi.python.org/pypi/distribute#distribute-setup-py&quot;&gt;distribute&lt;/a&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;I downloaded and executed&amp;nbsp;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;distribute_setup.py&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;which can be executed using any Python interpreter&lt;/b&gt;&lt;b&gt;.&lt;/b&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-weight: bold;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;B. pyreadline&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: red; font-family: Verdana, sans-serif; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;Windows does not come with a readline module.&amp;nbsp;&lt;/b&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;T&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;he pyreadline package is a python implementation of the GNU readline functionality. &lt;/b&gt;&lt;b&gt;The IPython shell will work without readline&lt;/b&gt;&lt;b&gt;.&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;To download &quot;pyreadline&quot; click on the following link:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;http://pypi.python.org/pypi/pyreadline&quot;&gt;pyreadline&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;I downloaded and installed&amp;nbsp;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;pyreadline-1.7.1.win32.exe (md5)&lt;/span&gt;.&lt;/b&gt;&lt;br /&gt;
&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-weight: bold;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;C. IPython&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;Click on the following link&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;to download&amp;nbsp;&lt;/b&gt;&lt;b&gt;IPython&lt;/b&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;http://pypi.python.org/pypi/ipython#downloads&quot;&gt;IPython&lt;/a&gt;.&lt;br /&gt;
&lt;/span&gt;


&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;Select the appropriate download for your computer; and during the download, select the option which places an IPython icon on your desktop.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;My computer uses Microsoft Windows; therefore, I used &quot;MS Windows installer&quot; for &lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;ipython-0.13.py3-win32.exe (md5)&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;The IPython download was to the following default hard drive path:&amp;nbsp;&lt;/b&gt;&lt;b style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;C:\Python27\&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;ipython-0.13&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;Check your hard drive and write down the hard drive default path your computer used for your IPython download. &amp;nbsp;You will need to know this default information when you are writing and reading IPython files.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;III. &amp;nbsp;IPYTHON DOWNLOAD AND INSTALLATION VAIDATION&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;b&gt;&quot;Double left mouse click&quot; the IPython icon on your desktop to start the IPython interpreter shell.  A IPython interpreter shell window will open as shown below:&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)]&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;Type &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;IPython &amp;nbsp; &amp;nbsp;0.13 -- An enhanced Interactive Python.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;? &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-&amp;gt; Introduction and overview of IPython&#39;s features.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;%quickref &amp;nbsp; &amp;nbsp;-&amp;gt; Quick reference.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;help &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-&amp;gt; Python&#39;s own help system.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;object? &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-&amp;gt; Details about &#39;object&#39;, use &#39;object??&#39; for extra details.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;
&lt;b&gt;&lt;span style=&quot;color: lime;&quot;&gt;In [1]:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;When you see the above message, you have successfully downloaded and installed IPython.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;IV. &amp;nbsp;IPYTHON SESSION&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b style=&quot;font-family: Verdana, sans-serif; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;A. &amp;nbsp;LOG&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;To&amp;nbsp;start a log to record your IPython session type&amp;nbsp;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;logstart -o ipythonLogTest.py&lt;/span&gt;&amp;nbsp;and press &lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;enter&lt;/span&gt; as shown below:&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;b&gt;&lt;b&gt;&lt;span style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;In [1]:&lt;/span&gt;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/b&gt;&lt;span style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;logstart -o ipythonLogTest.py&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b style=&quot;color: orange; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Activating auto-logging. Current session state plus future input saved.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: orange; font-family: inherit;&quot;&gt;&lt;b&gt;Filename &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; : ipythonLogTest.py&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: orange; font-family: inherit;&quot;&gt;&lt;b&gt;Mode &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: backup&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: orange; font-family: inherit;&quot;&gt;&lt;b&gt;Output logging &amp;nbsp; &amp;nbsp;: True&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: orange; font-family: inherit;&quot;&gt;&lt;b&gt;Raw input log &amp;nbsp; &amp;nbsp; &amp;nbsp;: False&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: orange; font-family: inherit;&quot;&gt;&lt;b&gt;Timestamping &amp;nbsp; &amp;nbsp; &amp;nbsp;: False&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: orange; font-family: inherit;&quot;&gt;&lt;b&gt;State &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: active&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: lime; font-family: inherit;&quot;&gt;In [2]:&lt;/span&gt;&lt;/b&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;Notice&amp;nbsp;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;-o&lt;/span&gt;&amp;nbsp;is the letter&amp;nbsp;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;o&lt;/span&gt;&amp;nbsp;and not a numeric zero. The file name shown above is &lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;ipythonLogTest.py&lt;/span&gt;; however, you can use any file name and any file type you prefer.&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;B. &amp;nbsp;DIRECTORY&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;To view your current directory type &lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;ls&lt;/span&gt; and press &lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;enter&lt;/span&gt; as shown below:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;b&gt;&lt;b&gt;&lt;span style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;In [2]:&lt;/span&gt;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt; ls&lt;/span&gt;&lt;/b&gt;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;Volume in drive C is HP_PAVILION&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;Volume Serial Number is F436-D0EA&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;Directory of C:\Python32\ipython-0.13&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;09/21/2012 &amp;nbsp;02:00 AM &amp;nbsp; &amp;nbsp;&amp;lt;DIR&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;09/21/2012 &amp;nbsp;02:00 AM &amp;nbsp; &amp;nbsp;&amp;lt;DIR&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;..&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;09/13/2012 &amp;nbsp;02:21 AM &amp;nbsp; &amp;nbsp;&amp;lt;DIR&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;docs&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;09/13/2012 &amp;nbsp;02:27 AM &amp;nbsp; &amp;nbsp;&amp;lt;DIR&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IPython&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;09/13/2012 &amp;nbsp;02:20 AM &amp;nbsp; &amp;nbsp;&amp;lt;DIR&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ipython.egg-info&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;12/16/2011 &amp;nbsp;11:38 PM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 813 ipython.py&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;09/20/2012 &amp;nbsp;05:59 AM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 263 ipython_log.py&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;09/21/2012 &amp;nbsp;02:00 AM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;22 ipythonLogTest.txt&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;09/21/2012 &amp;nbsp;01:58 AM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;57 ipythonLogTest.txt~&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;06/29/2012 &amp;nbsp;02:46 PM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 812 MANIFEST.in&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;06/30/2012 &amp;nbsp;01:45 AM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3,910 PKG-INFO&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;04/29/2012 &amp;nbsp;11:53 PM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1,016 README.rst&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;09/13/2012 &amp;nbsp;02:20 AM &amp;nbsp; &amp;nbsp;&amp;lt;DIR&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;scripts&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;06/30/2012 &amp;nbsp;01:45 AM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;59 setup.cfg&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;04/21/2012 &amp;nbsp;11:07 PM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 9,561 setup.py&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;06/30/2012 &amp;nbsp;12:55 AM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;13,778 setupbase.py&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;09/13/2012 &amp;nbsp;02:26 AM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;11,204 setupbase.pyc&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;06/29/2012 &amp;nbsp;03:06 PM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 156 setupegg.py&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;09/13/2012 &amp;nbsp;02:26 AM &amp;nbsp; &amp;nbsp;&amp;lt;DIR&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;setupext&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 12 File(s) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 41,651 bytes&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;7 Dir(s) &amp;nbsp;183,948,582,912 bytes free&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: lime;&quot;&gt;In [3]:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b style=&quot;font-family: Verdana, sans-serif; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;C. &amp;nbsp;? VERSUS ??&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;To obtain high level information on a &quot;magic function&quot; type the &quot;magic function&quot; name followed by a single question mark; i.e.,&amp;nbsp;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;lsmagic?&lt;/span&gt;&amp;nbsp;and press &lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;enter&lt;/span&gt; as shown below:&lt;/b&gt;
&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: lime;&quot;&gt;In [3]:&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt; lsmagic?&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Type:&lt;/span&gt;&lt;span style=&quot;color: orange;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; Magic function&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;String Form:&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;lt;bound method BasicMagics.lsmagic of &amp;lt;IPython.core.magics.basic.Basi&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;color: orange;&quot;&gt;cMagics object at 0x017244F0&amp;gt;&amp;gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Namespace:&lt;/span&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp;IPython internal&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;File:&lt;/span&gt;&lt;span style=&quot;color: orange;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; c:\python32\ipython-0.13\ipython\core\magics\basic.py&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Definition:&lt;/span&gt;&lt;span style=&quot;color: orange;&quot;&gt; lsmagic(self, parameter_s=&#39;&#39;)&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Docstring:&lt;/span&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp;List currently available magic functions.&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: lime;&quot;&gt;In [4]:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;
&lt;b&gt;To obtain detailed information on a &quot;magic function&quot;, including source code, type the &quot;magic function&quot; name followed by a double question mark; i.e.,&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif; font-weight: bold;&quot;&gt;lsmagic??&lt;/span&gt;&lt;b&gt;&amp;nbsp;and press &lt;/b&gt;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif; font-weight: bold;&quot;&gt;enter&lt;/span&gt;&lt;b&gt; as shown below:&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: lime;&quot;&gt;In [4]:&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt; lsmagic??&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Type:&lt;/span&gt;&lt;span style=&quot;color: orange;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; Magic function&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;String Form:&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;lt;bound method BasicMagics.lsmagic of &amp;lt;IPython.core.magics.basic.Basi&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;color: orange;&quot;&gt;cMagics object at 0x017244F0&amp;gt;&amp;gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Namespace:&lt;/span&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp;IPython internal&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;File:&lt;/span&gt;&lt;span style=&quot;color: orange;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; c:\python32\ipython-0.13\ipython\core\magics\basic.py&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Definition:&lt;/span&gt;&lt;span style=&quot;color: orange;&quot;&gt; lsmagic(self, parameter_s=&#39;&#39;)&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Source:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; @line_magic&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; def lsmagic(self, parameter_s=&#39;&#39;):&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&quot;&quot;&quot;List currently available magic functions.&quot;&quot;&quot;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: lime;&quot;&gt;print&lt;/span&gt;&lt;span style=&quot;color: orange;&quot;&gt;(self._lsmagic())&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;color: lime;&quot;&gt;In [5]:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;b style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;V. &amp;nbsp;IPYTHON &quot;MAGIC FUNCTIONS&quot;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;To help you get started, IPython has a set of predefined &quot;magic functions&quot; that can be called with a command line style syntax. &quot;Magic functions&quot; can be called with or without a&amp;nbsp;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;%&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; prefix&lt;/span&gt;. If you have a variable identifier with the same name as a &quot;magic function&quot; you should use a&amp;nbsp;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;%&lt;/span&gt;&amp;nbsp;prefix so IPython can tell them apart.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;To view all of the predefined &quot;magic functions&quot; type &lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;lsmagic&lt;/span&gt;&amp;nbsp;and press &lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;enter&lt;/span&gt; as shown below:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;b&gt;&lt;b&gt;&lt;span style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;In [5]:&lt;/span&gt;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt; lsmagic&lt;/span&gt;&lt;/b&gt;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;Available line magics:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h6&gt;
&lt;div&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;
%alias &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;%history &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;b&gt;%pdb &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;b&gt;%reload_ext &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;b&gt;%xmode&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;%alias_magic &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;%install_default_config &amp;nbsp; &lt;/b&gt;&lt;b&gt;%pdef &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/b&gt;&lt;b&gt;%rep&lt;/b&gt;&lt;b&gt;&lt;br /&gt;  
%autocall &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; %install_ext &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;b&gt;%pdoc &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;b&gt;%rerun&lt;/b&gt;&lt;b&gt;&lt;br /&gt;  
%autoindent &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;%install_profiles &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/b&gt;&lt;b&gt;%pfile &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;b&gt;%reset&lt;/b&gt;&lt;b&gt;&lt;br /&gt; 
%automagic &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;%killbgscripts &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;b&gt;&amp;nbsp;%pinfo &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;b&gt;%reset_selective&amp;nbsp;&lt;/b&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;
%bookmark &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; %load &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;b&gt;%pinfo2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;b&gt;%run&lt;/b&gt;&lt;b&gt;&lt;br /&gt;
%cd &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;%load_ext &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;b&gt;%popd &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;b&gt;%save&lt;/b&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt; 
%cls &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; %loadpy &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;b&gt;%pprint &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;b&gt;%sc&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;
%colors &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; %logoff &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;b&gt;%precision &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;b&gt;%store&lt;/b&gt;&lt;b&gt;&lt;br /&gt;  
%config &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; %logon &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;b&gt;%profile &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;b&gt;%sx&amp;nbsp;&lt;/b&gt;&lt;b&gt;&lt;br /&gt;
%cpaste &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;%logstart &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;%prun &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;b&gt;%system&lt;/b&gt;&lt;b&gt;&lt;br /&gt;
%debug &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; %logstate &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;b&gt;%psearch &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;b&gt;%tb&lt;/b&gt;&lt;b&gt;&lt;br /&gt;
%dhist &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; %logstop &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;b&gt;%psource &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;b&gt;%time&lt;/b&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt; 
%dirs &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; %lsmagic &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;b&gt;%pushd &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;b&gt;%timeit&lt;/b&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;
%doctest_mode &amp;nbsp; %macro &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/b&gt;&lt;b&gt;%pwd &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/b&gt;&lt;b&gt;%unalias&lt;/b&gt;&lt;b&gt;&lt;br /&gt; 
%ed &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;%magic &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;b&gt;%pycat &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;b&gt;%unload_ext&lt;/b&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;   
%edit &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;%notebook &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;b&gt;%pylab &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;b&gt;%who&lt;/b&gt;&lt;b&gt;&lt;br /&gt;  
%env &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;%page &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;b&gt;%quickref &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;b&gt;%who_ls&amp;nbsp;&lt;/b&gt;&lt;b&gt;&lt;br /&gt;
%gui &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; %paste &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;b&gt;%recall &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/b&gt;%whos&lt;b&gt;&amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;
%hist &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;b&gt;%pastebin &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;b&gt;%rehashx &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;b&gt;%xdel&amp;nbsp;&lt;/b&gt;&lt;b&gt;&lt;br /&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/h6&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;Available cell magics:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h6&gt;
&lt;div&gt;
&lt;span style=&quot;color: orange;&quot;&gt;%%! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;%%file &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;%%sx&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: orange;&quot;&gt;%%capture &amp;nbsp; &amp;nbsp;%%prun &amp;nbsp; &amp;nbsp; %%system  &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: orange;&quot;&gt;%%cmd &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; %%script &amp;nbsp; &amp;nbsp;%%timeit&lt;/span&gt;&lt;/div&gt;
&lt;/h6&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;Automagic is ON, % prefix IS NOT needed for line magics.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;b&gt;&lt;span style=&quot;color: lime; font-family: inherit;&quot;&gt;In [6]:&lt;/span&gt;&lt;span style=&quot;color: orange; font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;There are two types of &quot;magic functions&quot;: &quot;line-oriented&quot; and &quot;cell-oriented&quot;.&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;A. &amp;nbsp;IPYTHON &quot;LINE MAGICS&quot;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&quot;Line magics&quot; are prefixed with the % character and work like OS command-line calls. IPython will treat any line whose first character is a % as a special call to a &quot;magic function&quot;.&amp;nbsp;IPython will scan its internal list of &quot;magic functions&quot; and call one if it exists. &quot;Line magics&quot; get as an argument the rest of the line, where arguments are passed without parentheses or quotes.&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;B. &amp;nbsp;IPYTHON &quot;CELL MAGICS&quot;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&quot;Cell magics&quot; are prefixed with a double %%. &amp;nbsp;Cell magics are functions that get as an argument not only the rest&amp;nbsp;of the line, but also the lines below the cell magic in a separate argument.&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;VI. &amp;nbsp;IPYTHON HELP&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;To gain access to the standard Python scrolling help, type&amp;nbsp;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;help()&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;,&lt;/span&gt;&amp;nbsp;and press &lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;enter&lt;/span&gt;, as shown below:&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;display: inline !important; text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;In [6]:&lt;/span&gt;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt; help()&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;Welcome to Python 2.7! &amp;nbsp;This is the online help utility.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;If this is your first time using Python, you should definitely check out&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;the tutorial on the Internet at http://docs.python.org/tutorial/.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;Enter the name of any module, keyword, or topic to get help on writing&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;Python programs and using Python modules. &amp;nbsp;To quit this help utility and&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;return to the interpreter, just type &quot;quit&quot;.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;To get a list of available modules, keywords, or topics, type &quot;modules&quot;,&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&quot;keywords&quot;, or &quot;topics&quot;. &amp;nbsp;Each module also comes with a one-line summary&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;of what it does; to list the modules whose summaries contain a given word&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;such as &quot;spam&quot;, type &quot;modules spam&quot;.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;help&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;To find out what help topics are available, type&amp;nbsp;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;topics&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;,&lt;/span&gt;&amp;nbsp;and press &lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;enter&lt;/span&gt;, as shown below:&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;display: inline !important; text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;help&amp;gt; topics&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange; font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: orange; font-family: inherit;&quot;&gt;Here is a list of available topics. &amp;nbsp;Enter any topic name to get more help.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;h6&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;ASSERTION &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DEBUGGING &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;LITERALS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SEQUENCEMETHODS2&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;ASSIGNMENT &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DELETION &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;LOOPING &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SEQUENCES&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;ATTRIBUTEMETHODS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DICTIONARIES &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MAPPINGMETHODS &amp;nbsp; &amp;nbsp; &amp;nbsp; SHIFTING&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;ATTRIBUTES &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DICTIONARYLITERALS &amp;nbsp;MAPPINGS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SLICINGS&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;AUGMENTEDASSIGNMENT &amp;nbsp;DYNAMICFEATURES &amp;nbsp; &amp;nbsp; &amp;nbsp;METHODS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SPECIALATTRIBUTES&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;BACKQUOTES &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ELLIPSIS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MODULES &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SPECIALIDENTIFIERS&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;BASICMETHODS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;EXCEPTIONS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NAMESPACES &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SPECIALMETHODS&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;BINARY &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;EXECUTION &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NONE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;STRINGMETHODS&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;BITWISE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; EXPRESSIONS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;NUMBERMETHODS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; STRINGS&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;BOOLEAN &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;FILES &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;NUMBERS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SUBSCRIPTS&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;CALLABLEMETHODS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FLOAT &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;OBJECTS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TRACEBACKS&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;CALLS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;FORMATTING &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;OPERATORS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;TRUTHVALUE&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;CLASSES &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FRAMEOBJECTS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PACKAGES &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;TUPLELITERALS&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;CODEOBJECTS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;FRAMES &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;POWER &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TUPLES&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;COERCIONS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;FUNCTIONS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;RECEDENCE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;TYPEOBJECTS&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;COMPARISON &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IDENTIFIERS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PRINTING &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TYPES&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;COMPLEX &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IMPORTING &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PRIVATENAMES &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;UNARY&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;CONDITIONAL &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; INTEGER &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; RETURNING &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;UNICODE&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;CONTEXTMANAGERS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;LISTLITERALS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SCOPING&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;CONVERSIONS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LISTS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SEQUENCEMETHODS1&lt;/span&gt;&lt;/b&gt;

&lt;/div&gt;
&lt;/h6&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;help&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange; font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;/div&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;Press &lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;Enter&lt;/span&gt; to return to the IPython interpreter prompt:&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;b&gt;&lt;/b&gt;

&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;You are now leaving help and returning to the Python interpreter.&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;If you want to ask for help on a particular object directly from the&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;interpreter, you can type &quot;help(object)&quot;. &amp;nbsp;Executing &quot;help(&#39;string&#39;)&quot;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&lt;b&gt;has the same effect as typing a particular string at the help&amp;gt; prompt.&lt;/b&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;

&lt;span style=&quot;color: lime;&quot;&gt;In [7]:&lt;/span&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;To&amp;nbsp;obtain information on a keyword&amp;nbsp;type&amp;nbsp;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;help(&#39;keyword&#39;)&lt;/span&gt;&amp;nbsp;and press &lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;enter&lt;/span&gt; as shown below:&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;display: inline !important; text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;In [7]:&lt;/span&gt;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt; help(&#39;def&#39;)&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;Function definitions&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;********************&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;A function definition defines a user-defined function object (see&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;section *The standard type hierarchy*):&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp;decorated &amp;nbsp; &amp;nbsp; &amp;nbsp;::= decorators (classdef | funcdef)&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp;decorators &amp;nbsp; &amp;nbsp; ::= decorator+&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp;decorator &amp;nbsp; &amp;nbsp; &amp;nbsp;::= &quot;@&quot; dotted_name [&quot;(&quot; [argument_list [&quot;,&quot;]] &quot;)&quot;] NEWLINE&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp;funcdef &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;::= &quot;def&quot; funcname &quot;(&quot; [parameter_list] &quot;)&quot; &quot;:&quot; suite&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp;dotted_name &amp;nbsp; &amp;nbsp;::= identifier (&quot;.&quot; identifier)*&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp;parameter_list ::= (defparameter &quot;,&quot;)*&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ( &amp;nbsp;&quot;*&quot; identifier [, &quot;**&quot; identifier]&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &quot;**&quot; identifier&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | defparameter [&quot;,&quot;] )&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp;defparameter &amp;nbsp; ::= parameter [&quot;=&quot; expression]&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp;sublist &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;::= parameter (&quot;,&quot; parameter)* [&quot;,&quot;]&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp;parameter &amp;nbsp; &amp;nbsp; &amp;nbsp;::= identifier | &quot;(&quot; sublist &quot;)&quot;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp;funcname &amp;nbsp; &amp;nbsp; &amp;nbsp; ::= identifier&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;A function definition is an executable statement. &amp;nbsp;Its execution binds&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;the function name in the current local namespace to a function object&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;(a wrapper around the executable code for the function). &amp;nbsp;This&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;function object contains a reference to the current global namespace&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;as the global namespace to be used when the function is called.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;The function definition does not execute the function body; this gets&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;executed only when the function is called. [3]&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;A function definition may be wrapped by one or more *decorator*&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;expressions. Decorator expressions are evaluated when the function is&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;defined, in the scope that contains the function definition. &amp;nbsp;The&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;result must be a callable, which is invoked with the function object&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;as the only argument. The returned value is bound to the function name&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;instead of the function object. &amp;nbsp;Multiple decorators are applied in&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;nested fashion. For example, the following code:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp;@f1(arg)&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp;@f2&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp;def func(): pass&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;is equivalent to:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp;def func( ): pass&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp;func = f1(arg)(f2(func))&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;When one or more top-level parameters have the form *parameter* ``=``&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;*expression*, the function is said to have &quot;default parameter values.&quot;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;For a parameter with a default value, the corresponding argument may&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;be omitted from a call, in which case the parameter&#39;s default value is&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;substituted. &amp;nbsp;If a parameter has a default value, all following&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;parameters must also have a default value --- this is a syntactic&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;restriction that is not expressed by the grammar.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;**Default parameter values are evaluated when the function definition&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;is executed.** &amp;nbsp;This means that the expression is evaluated once, when&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;the function is defined, and that the same &quot;pre-computed&quot; value is&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;used for each call. &amp;nbsp;This is especially important to understand when a&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;default parameter is a mutable object, such as a list or a dictionary:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;if the function modifies the object (e.g. by appending an item to a&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;list), the default value is in effect modified. This is generally not&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;what was intended. &amp;nbsp;A way around this &amp;nbsp;is to use ``None`` as the&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;default, and explicitly test for it in the body of the function, e.g.:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp;def whats_on_the_telly(penguin=None):&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if penguin is None:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;penguin = [ ]&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;penguin.append(&quot;property of the zoo&quot;)&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return penguin&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;Function call semantics are described in more detail in section&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;*Calls*. A function call always assigns values to all parameters&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;mentioned in the parameter list, either from position arguments, from&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;keyword arguments, or from default values. &amp;nbsp;If the form&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&quot;``*identifier``&quot; is present, it is initialized to a tuple receiving&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;any excess positional parameters, defaulting to the empty tuple. &amp;nbsp;If&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;the form &quot;``**identifier``&quot; is present, it is initialized to a new&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;dictionary receiving any excess keyword arguments, defaulting to a new&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;empty dictionary.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;It is also possible to create anonymous functions (functions not bound&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;to a name), for immediate use in expressions. &amp;nbsp;This uses lambda forms,&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;described in section *Lambdas*. &amp;nbsp;Note that the lambda form is merely a&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;shorthand for a simplified function definition; a function defined in&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;a &quot;``def``&quot; statement can be passed around or assigned to another name&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;just like a function defined by a lambda form. &amp;nbsp;The &quot;``def``&quot; form is&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;actually more powerful since it allows the execution of multiple&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;statements.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;**Programmer&#39;s note:** Functions are first-class objects. &amp;nbsp;A &quot;``def``&quot;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;form executed inside a function definition defines a local function&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;that can be returned or passed around. &amp;nbsp;Free variables used in the&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;nested function can access the local variables of the function&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;containing the def. &amp;nbsp;See section *Naming and binding* for details.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: lime;&quot;&gt;In [8]:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;The following steps are performed to create variable identifiers for discussion purposes:&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;In [8]:&lt;/span&gt;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;from sympy import *&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: lime;&quot;&gt;In [9]:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;In [9]:&lt;/span&gt;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt; from sympy.matrices import Matrix&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: lime;&quot;&gt;In [10]:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;To&amp;nbsp;turn&amp;nbsp;&lt;/b&gt;&lt;b style=&quot;text-align: justify;&quot;&gt;off your log recording your IPython session&amp;nbsp;&lt;/b&gt;&lt;b style=&quot;text-align: justify;&quot;&gt;type&amp;nbsp;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;logoff&lt;/span&gt;&amp;nbsp;and press &lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;enter&lt;/span&gt; as shown below:&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;In [10]:&lt;/span&gt;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt; logoff&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: orange; font-family: inherit;&quot;&gt;Switching loging OFF&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: lime;&quot;&gt;In [11]:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;
&lt;b&gt;&lt;span style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;In [11]:&lt;/span&gt;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt; A = Matrix([[1,2],[3,4]])&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: lime;&quot;&gt;In [12]:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;To&amp;nbsp;turn&amp;nbsp;&lt;/b&gt;&lt;b&gt;on your log recording your IPython session&amp;nbsp;&lt;/b&gt;&lt;b&gt;type&amp;nbsp;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;logon&lt;/span&gt;&amp;nbsp;and press &lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;enter&lt;/span&gt; as shown below:&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;In [12]:&lt;/span&gt;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt; logon&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: orange; font-family: inherit;&quot;&gt;Switching loging ON&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: lime;&quot;&gt;In [13]:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;In [13]:&lt;/span&gt;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt; A_inverse = A.inv( )&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: lime;&quot;&gt;In [14]:&lt;/span&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;In [14]:&lt;/span&gt;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt; A_identity = A_inverse * A&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: lime;&quot;&gt;In [15]:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;VII. &amp;nbsp;IPYTHON NAMESPACE MANAGEMENT&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;To print a table with details about all variable identifiers in the interactive namespace type&amp;nbsp;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;whos&lt;/span&gt;&amp;nbsp;and press&amp;nbsp;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;enter&lt;/span&gt;&amp;nbsp;as shown below:&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;In [15]: &lt;/span&gt;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;whos&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: lime;&quot;&gt;In [16]:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;To search for a namespace variable identifier&lt;/b&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;b&gt;type&amp;nbsp;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;psearch&lt;/span&gt;&amp;nbsp;followed by the variable identifier name and press&amp;nbsp;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;enter&lt;/span&gt;&amp;nbsp;as shown below:&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;In [16]:&lt;/span&gt;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt; psearch A*&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: orange;&quot;&gt;A&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: orange;&quot;&gt;A_identity&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: orange;&quot;&gt;A_inverse&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: orange;&quot;&gt;Abs&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: orange;&quot;&gt;Add&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: orange;&quot;&gt;AlgebraicNumber&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: orange;&quot;&gt;And&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: orange;&quot;&gt;AppliedPredicate&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: orange;&quot;&gt;ArithmeticError&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: orange;&quot;&gt;AssertionError&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: orange;&quot;&gt;AssumptionsContext&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: orange;&quot;&gt;Atom&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: orange;&quot;&gt;AtomicExpr&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: orange;&quot;&gt;AttributeError&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: orange;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: lime;&quot;&gt;In [17]:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;To determine the status of the log which is recording your IPython session, type &lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;logstate&lt;/span&gt; and press &lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;enter&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;,&lt;/span&gt;&amp;nbsp;as shown below:&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;In [17]:&lt;/span&gt;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt; logstate&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: orange; font-family: inherit;&quot;&gt;Filename &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;color: orange;&quot;&gt;ipythonLogTest.py&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: orange; font-family: inherit;&quot;&gt;Mode &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; : rotate&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: orange; font-family: inherit;&quot;&gt;Output logging : False&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: orange; font-family: inherit;&quot;&gt;Raw input log &amp;nbsp; : False&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: orange; font-family: inherit;&quot;&gt;Timestamping &amp;nbsp;: False&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: orange; font-family: inherit;&quot;&gt;State &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; : active&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: lime;&quot;&gt;In [18]:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;To exit IPython type&amp;nbsp;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;quit&lt;/span&gt;&amp;nbsp;and press &lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;enter&lt;/span&gt; as shown below:&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: lime; font-family: Verdana, sans-serif;&quot;&gt;In [18]:&lt;/span&gt;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt; quit&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;Open &lt;span style=&quot;color: purple;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;ipythonLogTest.py&lt;/span&gt;&lt;/span&gt;&amp;nbsp;with any text editor to see the logged record of your IPython session.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;VIII. &amp;nbsp;REFERENCES&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;a href=&quot;http://minrk.github.com/ipython-doc/rel-0.10.1/ipython.pdf&quot;&gt;IPython Documentation Release 0.10.1&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;color: magenta;&quot;&gt;In this tutorial, you have learned how to download and install, IPython.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: magenta;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 9px; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;http://goo.gl/qi5jw&quot; style=&quot;color: #33aaff;&quot;&gt;Elcric Otto Circle&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-4871588942132101&quot;;
/* One */
google_ad_slot = &quot;8813220342&quot;;
google_ad_width = 336;
google_ad_height = 280;
//&lt;/script&gt;

--&amp;gt; &lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-4871588942132101&quot;;
/* Two */
google_ad_slot = &quot;8243854886&quot;;
google_ad_width = 336;
google_ad_height = 280;
//&lt;/script&gt;
--&amp;gt; &lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;ca-pub-4871588942132101&quot;;
/* Three */
google_ad_slot = &quot;7921082405&quot;;
google_ad_width = 336;
google_ad_height = 280;
//&lt;/script&gt;
--&amp;gt; &lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;g-plus&quot; data-action=&quot;share&quot; data-height=&quot;24&quot;&gt;
&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
  (function() {
    var po = document.createElement(&#39;script&#39;); po.type = &#39;text/javascript&#39;; po.async = true;
    po.src = &#39;https://apis.google.com/js/plusone.js&#39;;
    var s = document.getElementsByTagName(&#39;script&#39;)[0]; s.parentNode.insertBefore(po, s);
  })();
&lt;/script&gt;

&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;form&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: xx-small;&quot;&gt;&lt;input onclick=&quot;window.location.href=&#39;http://goo.gl/Hm4Lb&#39;&quot; type=&quot;BUTTON&quot; value=&quot;HOME PAGE&quot; /&gt;  &lt;/span&gt;&lt;/form&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;

&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;How to Link to My Home Page&lt;/span&gt;&lt;/b&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;form action=&quot;http://www.example.com/&quot;&gt;
&lt;label for=&quot;linkcode&quot;&gt;To link to &quot;My Home Page&quot; from your website, simply copy and paste the following code into your website HTML page:&lt;/label&gt;
&lt;textarea cols=&quot;43&quot; id=&quot;linkcode&quot; onclick=&quot;this.focus();this.select();&quot; readonly=&quot;readonly&quot; rows=&quot;5&quot; title=&quot;Select the text here, click your right mouse button, click the Copy menu item, and paste it into your web page in HTML source mode&quot;&gt;&lt;p&gt;
&lt;a href=&quot;http://goo.gl/Hm4Lb&quot; target=&quot;_top&quot;&gt;&quot;Link to: ELCRIC OTTO CIRCLE&#39;s Home Page&quot;&lt;/a&gt;&lt;/p&gt;
&lt;/textarea&gt;
&lt;/form&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;It will appear on your website as:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;a href=&quot;http://goo.gl/Hm4Lb&quot; target=&quot;_top&quot;&gt;&quot;Link to: ELCRIC OTTO CIRCLE&#39;s Home Page&quot;&lt;/a&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ipythonelcric.blogspot.com/feeds/469586679503876692/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ipythonelcric.blogspot.com/2012/09/downloading-and-installing-ipython.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6026394857455221289/posts/default/469586679503876692'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6026394857455221289/posts/default/469586679503876692'/><link rel='alternate' type='text/html' href='http://ipythonelcric.blogspot.com/2012/09/downloading-and-installing-ipython.html' title='DOWNLOADING AND INSTALLING IPYTHON'/><author><name>Ron Tinnel</name><uri>http://www.blogger.com/profile/12620656110056475098</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQ7cxhHYa4tEhntFeHxkQgI96jo-SwJ9XXLiLOw1dFqYTgX6OQj6KWLHtL1cVKCCpWjgyLUorKpp9ee1_E21mNfM92FHU-YZL-ZEncs8mjQjci0vaV7D8bxp48GLls-pFf6iZemDFbGFc/s72-c/avatar.gif" height="72" width="72"/><thr:total>0</thr:total></entry></feed>