Save for later

Python Functions, Files, and Dictionaries

Python 3 Programming,

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.

Get Details and Enroll Now

OpenCourser is an affiliate partner of Coursera and may earn a commission when you buy through our links.

Get a Reminder

Send to:
Rating 4.7 based on 181 ratings
Length 6 weeks
Starts Jun 21 (32 weeks ago)
Cost $49
From University of Michigan via Coursera
Instructors Paul Resnick, Steve Oney, Jaclyn Cohen
Download Videos On all desktop and mobile devices
Language English
Subjects Programming
Tags Computer Science Software Development

Get a Reminder

Send to:

Similar Courses

What people are saying

final project

I'd recommend a little bit of extra practice before the final project as it deals with material that may already have been forgotten.

Final project is a bit confusing at start, because it supposes some independence (for the first time in a course I had to google some information).

Final project will test you cumulative contents learned from the course 1.

It helps to apply concepts and I feel confident to write code in python A Great course, highly recommended , Never understood concepts that easy as i have with this course , High Quality Final project in this course though a bit difficult was satisfying to complete.

Very intuitive and puts to use all the concepts in the final project.

Now that I've completed this course and its final project I can confidently say I'm an advanced beginner and well on my way to being at an intermediate level Python programmer.

Great but should work well to complete final project.

Read more

university of michigan

Awaiting more courses from University of Michigan.They deliver with real fluency and great interaction.Thank you for everything!

University of Michigan has the best online teaching program for Python using the Runestone interactive textbook.

The course material and videos are good, but it is impossible to get help from anyone from the University of Michigan if you have questions.

Read more

check your understanding

Great course with a true hands-on approach Excellent lessons, check your understanding, e-book, practice, and quiz work.

I do feel however hat you need to do a lot of research and studying on your own as the test and check your understanding questions have some code and problems that isn't covered in the reading and videos.

Read more

little bit

Very good interface really started to enjoy developing code in Python,Thank you all instructors... Great Course and content, only the explanantion of the final test is a little bit confusing.

This course is short but very informative Very nice course, it could be a little bit challenging if you have no programming experience, but if you have done the past course and you put your attention you will definitely be able to pass it.

Read more

interactive book

Superb, specially the interactive book is really awesome.

the interactive book is very useful to learn and practice the material.

Read more

peer review

Very good method of peer review Usefullcourse Very well documented.

The peer review is useless and doesn't make any sense due you have to wait until other decided to pick your work what can be ages.

Read more

will definitely

And you will definitely learn the basics and fundamentals that you need for the future.

Once you write project on your code, you , you will definitely feel like you have made a quantum jump.

know how

You must know how to implement the instructions and be a bit clever as well.

Finally know how to handle some datastructures Great course with lecture and good amount of exercises The course is good and the material is good too.

Read more

final assignment

The final assignment is far more complex (as in having multiple stages) but still manageable.

Also the final assignment puts most of the material together.

Read more

first country name

: it asks "sort-5-1: What will the sorted function sort by?and says: "first country name (alphabetically), then temperature (lowest to highest)" but in the task script are "Reykjavik, Buenos Aires, Cairo, Berlin and Caloocan "Since when Reykjavik, Buenos Aires, Cairo, Berlin and Caloocan are countries?!

and among options:A. first country name (reverse alphabetically), then temperature (lowest to highest) C. first country name (reverse alphabetically), then temperature (lowest to highest) The answers A and C are exactly the same.

lowest to highest

helps to understand

Very good course This course helps to understand how to use context manager to prevent you from forget to close files that are opened for write, nicely explains how you can iterate through files directly.

It helps to understand why using a local variable inside a function is a good idea.

Read more

Careers

An overview of related careers and their average salaries in the US. Bars indicate income percentile.

Programming Coordinator 1 $54k

Programming Acquisitions $61k

Programming advisor $72k

Network Programming $78k

NC Programming $79k

Python Risk Developer $90k

Programmer (Python) $99k

DBA - Programming $103k

Training (Python) $104k

Gameplay Programming $120k

IT and Programming Specialist $122k

Python / Risk Developer $136k

Write a review

Your opinion matters. Tell us what you think.

Rating 4.7 based on 181 ratings
Length 6 weeks
Starts Jun 21 (32 weeks ago)
Cost $49
From University of Michigan via Coursera
Instructors Paul Resnick, Steve Oney, Jaclyn Cohen
Download Videos On all desktop and mobile devices
Language English
Subjects Programming
Tags Computer Science Software Development

Similar Courses

Sorted by relevance

Like this course?

Here's what to do next:

  • Save this course for later
  • Get more details from the course provider
  • Enroll in this course
Enroll Now