Python is a popular, general-purpose, multi-paradigm, open-source, scripting language. It is designed to emphasize code readability – has a clean syntax with high level data types. It is suited for interactive work and quick prototyping, while being powerful enough to write large applications in.
Python has a large number of available and well-written modules for everything from abstract syntax trees to ZIP file manipulation. Its ecosystem features an extensive set of tools and fancy.
This course introduces the student to the Python language. On completion of this class the student should feel comfortable with writing Python programs. The course provides insight to the features of Python that make it an excellent choice for projects of virtually any size.
After completing this course, students will be able to:
- use Python interactively
- execute a Python script at the shell prompt
- use Python types, expressions, and None
- use string literals and string type
- use Python statements (if…elif..else, for, pass, continue, . . . )
- understand the difference between expressions and statements
- understand assignment semantics
- write and call a simple function
- utilize high-level data types such as lists and dictionaries
- understand the difference between mutable and immutable types
- write a simple class and access methods and attributes
- import and utilize a module
- read from and write to a text file
This course is for those who have some experience in using at least one scripting language but who do not know Python. It is assumed that you can edit a text file using your favorite editor, and be able to execute your script file on the command line of a shell.