In this 4-day course, participants establish a solid foundation in core Python programming language fundamentals using Python 3. Exercises cover common tasks in:
- data acquisition (via raw input from users, from files, from urls, and from sockets)
- data parsing (including English text, HTML, column-oriented text, CSV and delimited files, JSON, and XML)
- data analysis (using list comprehensions, generators, sets, dictionaries, and named tuples)
- data formatting (using templating to create HTML and other output formats)
Participants can expect to learn Python norms, idioms, and programming practices developing a clear mental model of the language (including magic methods, the object model, memory management, mutability, performance and scaling, etc). Participants will develop an expressive style that realizes the full advantages of the language becoming proficient at utilizing patterns of problem solving.
Topics include program organization, principles of object-oriented programming, testing, and debugging. There is special chapter on using REST APIs as time permits. Socket programming includes processing HTTP headers and the use of RESTful APIs and networked applications. Examples include a TCP client and server.