scan
read
scan
scan
scan
Note that Python is a dynamic language, interpreted at execution time
scan
scan
We will use Python 3
Be careful of stuff you find on-line; some of it is old Python 2
APPENDIX B tells how to install Python on your own machine.
Just Python is good for CIS 41A.
Optionally you may install Anaconda, which includes Python and more Python stuff.
It is good for both CIS 41A and CIS 41B.
We will use the Wing Interactive Development Enviroment (IDE)
Running Wing:
Look at the link to Lab Instructions from the CIS 41A main page.
skip this this section; we will use Wing instead.
skip this this section; we will use Wing instead.
scan
This is interesting.
skip; we will have our own exercises and assignments.
skip sections not listed here
read
read the first three paragraphs.
read the first paragraph or two.
read the bullet: "Python doesn't have constants, ..."
Do not read this; it is too advanced. However, it is important to test your code well.
omit all other sections
optional, only needed if not using your system or De Anza system
read if you need to install Python
optional, not used in CIS 41A but used in CIS41B
scan
How is the type of literal values determined?
If it walks like a duck and quacks like a duck, it is a duck.
Python decides: 4 is type int, 3.45 is type float, "hello" is type str.
A way to think about assignment is:
The name on the left is set to refer to the data object on the right.
This is very important.
This section is the key to understanding how Python works.
skip; we will have our own exercises and assignments.
read all sections
skip; we will have our own exercises and assignments.
Omit the rest of this chapter.