What you'll learn
Files and CSV Output
Dictionaries and Dictionary Accumulation
Functions and Tuples
More Iteration and Advanced Functions
This course introduces the dictionary data structure and user-defined functions. You’ll learn about local and global variables, optional and keyword parameter-passing, named functions and lambda expressions. You’ll also learn about Python’s sorted function and how to control the order in which it sorts by passing in another function as an input. For your final project, you’ll read in simulated social media data from a file, compute sentiment scores, and write out. csv files. It covers chapters 10-16 of the textbook “Fundamentals of Python Programming,” which is the accompanying text (optional and free) for this course.
The course is well-suited for you if you have already taken the “Python Basics” course and want to gain further fundamental knowledge of the Python language. Together, both courses are geared towards newcomers to Python programming, those who need a refresher on Python basics, or those who may have had some exposure to Python programming but want a more in-depth exposition and vocabulary for describing and reasoning about programs. This is a follow-up to the “Python Basics” course (course 1 of the Python 3 Programming Specialization), and it is the second of five courses in the specialization.
Access to a computer or mobile device with an internet connection.
Motivation to learn!
There are no special materials or prerequisite knowledge required for this course.
Who this course is for
Students who are new to this field
Students willing to put in a couple hours to learn about Python Functions, Files, and Dictionaries
Advanced students wanting to add another skill to their portfolio
Paul Resnick – Michael D. Cohen Collegiate Professor – School of Information
Steve Oney – Assistant Professor – School of Information
Jaclyn Cohen – Lecturer – School of Information
This course includes
Option for learning at your own pace
Videos and reading material about the course
Assessed tasks with feedback from other course participants
Evaluated tests with feedback
Evaluated programming tasks