... | @@ -45,25 +45,8 @@ i |
... | @@ -45,25 +45,8 @@ i |
|
|
|
|
|
# The Broad Strokes
|
|
# The Broad Strokes
|
|
|
|
|
|
T.B.W
|
|
This workshop is intended as discussion on how to write more concise, idiomatic
|
|
|
|
(Pythonic), readable, and reusable Python code.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
# Topics
|
|
|
|
|
|
|
|
|
|
|
|
* ~~A quick overview of procedural, object-oriented and functional style programming (very briefly).~~
|
|
|
|
* ~~PEP 8, <https://www.python.org/dev/peps/pep-0008/> and PEP 20, <https://www.python.org/dev/peps/pep-0020/>~~
|
|
|
|
* ~~Loops, context managers, and list/generator comprehensions, <https://www.cs.odu.edu/~tkennedy/cs330/f20/Public/switchingToPython/index.html>.~~
|
|
|
|
* ~~The basic Python data structures (List, Dictionary, and Set)~~
|
|
|
|
* Generator Expressions
|
|
|
|
* A few Python modules, including Zip, json, and argparse, <https://www.cs.odu.edu/~tkennedy/cs330/f20/Public/switchingToPython/index.html#python-includes-batteries>
|
|
|
|
* Writing Pythonic code (e.g., using enumerate), <https://www.cs.odu.edu/~tkennedy/cs330/f20/Public/whichLanguageIsIt/index.html#a-little-python>.
|
|
|
|
* Time permitting... a little unit testing.
|
|
|
|
|
|
|
|
|
|
|
|
# Procedural, Object-Oriented & Functional Programming
|
|
# Procedural, Object-Oriented & Functional Programming
|
... | | ... | |