Python 3home |
Introduction to Python
davidbpython.com
Python's popularity is due to its elegance and simplicity.
Do other languages have a manifesto like this one?
The Zen of Python, by Tim Peters 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. If the implementation is hard to explain, it's a bad idea. If the implementation is easy to explain, it may be a good idea. Namespaces are one honking great idea -- let's do more of those!
I am dedicated to student success.
Prior exposure to Python is helpful, but not required.
You do not have to know anything about Python or programming, but some personal qualities will be very helpful. These are "soft skills" that will benefit you greatly as you proceed:
If you already have an editor and Python installed, you do not need to add these.
Please keep in mind that if you are already able to write and run Python programs, you only need to add the class files.
The zip file contains all files needed for our course exercises.
python_data/ ├── session_00_test_project/ ├── session_01_objects_types/ ├──── inclass_exercises/ │ ├── inclass_1.1.py │ ├── inclass_1.2.py │ ├── ..etc.. │ ├── inclass_1.6_lab.py │ ├── inclass_1.7_lab.py │ ├── ..etc.. ├──── notebooks_inclass_warmup/ ├── session_02_funcs_condits_methods/ ├──── inclass_exercises/ │ ├── inclass_2.1.py │ ├── inclass_2.2.py │ ├── ..etc.. ├── session_03_strings_lists_files/ ├── session_04_containers_lists_sets/ ├── ..etc.. └── session_10_classes/