Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Online Course

Python Programming: A Concise Introduction

Wesleyan University via Coursera

277
  • Provider Coursera
  • Cost Free Online Course (Audit)
  • Session Upcoming
  • Language English
  • Certificate Paid Certificate Available
  • Duration 4 weeks long
  • Learn more about MOOCs

Taken this course? Share your experience with other students. Write review

Overview

The goal of the course is to introduce students to Python Version 3.x programming using hands on instruction. It will show how to install Python and use the Spyder IDE (Integrated Development Environment) for writing and debugging programs. The approach will be to present an example followed by a small exercise where the learner tries something similar to solidify a concept. At the end of each module there will be an exercise where the student is required to write simple programs and submit them for grading. It is intended for students with little or no programming background, although students with such a background should be able to move forward at their preferred pace.

The course is four modules long and is designed to be completed in four weeks.

Syllabus

Beginning to Program in Python
-In this module we introduce writing functions in Python using the convenient Spyder development environment. The lesson begins with instructions on installing the popular Anaconda distribution of Python, which includes Spyder. It continues by showing how to use the editor in Spyder to type in a function and then run it. Each lesson alternates between introducing a concept by example and having the student test his/her understanding by constructing a function similar to that example. The module lecture is contained in a single program source file named Exercises1.py. This file, which should be downloaded by the student at the beginning of the module, contains the complete lecture except the solutions to the ungraded exercises. The student should work each of these before viewing the instructor's solution. By using the unique capability of Spyder (using IPython Notebooks), the program file is segmented into cells each of which can be executed independently of the others. Thus the student does not have to manage multiple program files and finishes with a lecture file with filled-in student exercises that can be used for reference. Python topics included in this module are print statement, arithmetic operators, input statement, combining of strings, if statement, while loop, and for loop. The module ends with a series of small functions to write to be submitted for grading. Grading is done by custom software and should normally take only minutes with no limit to the number of re-submissions. Hopefully, you'll finish with a perfect score.

Working with Lists and Importing Libraries. The Random library.
-Lists, datatypes, libraries, the random library.

Tuples, Data Dictionaries, Text and CSV Files
-So far, we have one collection data type, the list. In this module we take up two more: the tuple and the data dictionary. After that we introduce reading and writing text files and give some illustrative examples. Finally, we take up reading and writing Comma Separated Value (CSV) files.

Functional Values, Sorting, Formatting, Statistics, and a Menu Driven Database Program
-In this lesson, we take up a variety of topics and give an example using much of what we've covered in the course. First, we show how functions can return values. Then we show how to build lists of various types and how to sort these lists. After that we use the statistic library to introduce basic descriptive statistics. Finally, we show how to use formatting in print statements. As a recap, we work through an application making use of what we've learned to build a menu-driven program that maintains a small database.

Taught by

Bill Boyd

Help Center

Most commonly asked questions about Coursera

Reviews for Coursera's Python Programming: A Concise Introduction Based on 5 reviews

  • 5 stars 40%
  • 4 stars 40%
  • 3 star 0%
  • 2 star 0%
  • 1 star 20%

Did you take this course? Share your experience with other students.

Write a review
  • 1
Anonymous
3 years ago
Anonymous completed this course.
Poorly constructed course. Spent more time trying to get assignments uploaded in 'Autograder' than actually working in Python. Example is scripts that work in Spyder, PyScripter or other IDE, but would fail the Autograder with little to no reason why.

Suggest taking one of the other Python classes (Dr Severance Univ of Mich, for example) as they use modern, online Python Development Environments that allow for collaboration and feedback to let you really learn hows and whys.
Was this review helpful to you? Yes
Anonymous
3 years ago
Anonymous completed this course.
I thoroughly enjoyed the course, managed 100% and had not coded for over a decade.

Well constructed, does specifically what it sets out to do and is well explained. Do not try to upload all your assignment to autograder in one file. Upload problem by problem. A basic divide and conquer approach in programming.
Was this review helpful to you? Yes
Bruce T
2 years ago
by Bruce completed this course, spending 4 hours a week on it and found the course difficulty to be medium.
I really enjoyed this course. I found the instructor clear and well-organised. The level of difficulty was perfect for me. I have never done a programming course before at any level but use a computer frequently and can write intermediate level HTML/CSS.

I can comfortably use Spyder and the iPython console after this course.

The autograder was easy to use if I just copied my code to a .py file and uploaded and submitted it one-file-at-time. It was also frustrating in that there were two occasions when my code worked fine locally but failed on the autograder. There must have been some problem with white space but, hey, I passed the week!

One huge benefit of the course for me is that it gave me all the tools I need to write a program for data entry into a csv file. This is something I have needed for a while. I wasn't expecting such immediate utility from a month-long beginner course.

Highly recommended.
Was this review helpful to you? Yes
Anonymous
2 years ago
Anonymous completed this course.
I took this course for free and thought it was great. I didn't submit any of the assignments as the online system is too time consuming for submitted but instead completed them offline.

The introduction to Spyder IDE is much better than many of the other courses I took.

One area for improvement I would like to see is to have a better resolution screen capture. The one in the course is blurry when made full screen and a highlighted cursor would be nice too.
Was this review helpful to you? Yes
Alex I
3 years ago
Alex completed this course.
Was this review helpful to you? Yes
  • 1

Class Central

Get personalized course recommendations, track subjects and courses with reminders, and more.

Sign up for free

Never stop learning Never Stop Learning!

Get personalized course recommendations, track subjects and courses with reminders, and more.

Sign up for free