<h2class="lecturer">LinkedIn Learning : Bill Weinman</h2>
<h2class="episodetitle">Introduction and Installation</h2>
</div>
<article>
<h2class="sectiontitle">Python Philosophy</h2>
<p>The Zen of Python, by Tim Peters</p>
<preclass="sectiontitle">
• Beautiful is better than ugly.
• Explicit is better than implicit.
• Simple is better than complex.
• Complex is better than complicated.
• Flat is better than nested.
• Sparse is better than dense.
• Readability counts.
• Special cases aren't special enough to break the rules.
• Although practicality beats purity.
• Errors should never pass silently.
• Unless explicitly silenced.
• In the face of ambiguity, refuse the temptation to guess.
• There should be one-- and preferably only one --obvious way to do it.
• Although that way may not be obvious at first unless you're Dutch.
• Now is better than never.
• Although never is often better than *right* now.</pre>
<p>You can get this list by typing import this into a Python interpreter.</p>
<h2class="sectiontitle">Python3</h2>
<p>Python 3 is not backward compatible so Python 2 code must be ported to be used in Python 3.</p>
<p>Everything in Python 3 is an object.</p>
<p>Print was a keyword in Python 2 (it didn't need parentheses) but it is a function in Python 3 so now it needs parentheses.</p>
<p>Python 2 has integers and long integers, Python 3 only has integers.</p>
<p>Python 2 has string types for Unicode, ASCII and APID data. Python 3 only has Unicode for strings and a separate data type for APID data.</p>
<p>The online documentation for Python can be found at <ahref="https://docs.python.org/3/">docs.python.org</a> and you should familiarise yourself with these.</p>
<h2class="sectiontitle">Installation</h2>
<p>In the course, the PyCharm IDE is used, but I am using VS Code so most of this section is not relevant. I also have IDLE installed so I can use that if needed or I could use Jupyter Notebook.</p>