Python I Essentials

COURSE OVERVIEW

This four day course leads the student from the basics of writing and running Python scripts to more advanced features such as file operations, regular expressions, working with binary data, and using the extensive functionality of Python modules. Extra emphasis is placed on features unique to Python, such as tuples, array slices, and output formatting. This is a hands-on programming class. All concepts are reinforced by informal practice during the lecture followed by graduated lab exercises. Python Programming is a practical introduction to a working programming language, not an academic overview of syntax and grammar. Students will immediately be able to use Python to complete tasks in the real world.

AUDIENCE AND PREREQUISITES

Users who want to learn Python and use it for application development, system
administration, or just to automate tasks in a simple, yet powerful way. Working/user level knowledge of an operating system such as Linux, Windows, or
MacOS. Basic skill with at least one other programming language is desirable.

Courseware not included in the course $ 220. Course to run is subject to a minimum enrollment. Course may run as a virtual instructor led course. For more information, please contact learn@vtec.org or call 207.775.0244.

COURSE TOPICS:

An Overview of Python What is Python? The Birth of Python Python Timeline About Interpreted Languages Advantages of Python Disadvantages of Python How to get Python Which version of Python? The of 2.x Getting Help pydoc

The Python Environment Starting Python If the interpreter is not in your PATHs Using the interpreter Trying out a few commands Running a Python script Python scripts on UNIX Python scripts on Windows Python editors and IDEs

Working with files Text file I/O Opening a text file The with block Reading a text file Writing to a text file “Binary” (raw, or non-delimited) data

Dictionaries and Sets About dictionaries When to use dictionaries Creating dictionaries Getting dictionary values Iterating through a dictionary Reading file data into a dictionary Counting with dictionaries About sets Creating sets Working with sets