À propos de ce cours
4.6
1,803 notes
645 avis
100 % en ligne

100 % en ligne

Commencez dès maintenant et apprenez aux horaires qui vous conviennent.
Dates limites flexibles

Dates limites flexibles

Réinitialisez les dates limites selon votre disponibilité.
Niveau débutant

Niveau débutant

Heures pour terminer

Approx. 14 heures pour terminer

Recommandé : 4 weeks of study, 4-5 hours/week...
Langues disponibles

Anglais

Sous-titres : Anglais...

Compétences que vous acquerrez

Python Syntax And SemanticsPython LibrariesComputer ProgrammingPython Programming
100 % en ligne

100 % en ligne

Commencez dès maintenant et apprenez aux horaires qui vous conviennent.
Dates limites flexibles

Dates limites flexibles

Réinitialisez les dates limites selon votre disponibilité.
Niveau débutant

Niveau débutant

Heures pour terminer

Approx. 14 heures pour terminer

Recommandé : 4 weeks of study, 4-5 hours/week...
Langues disponibles

Anglais

Sous-titres : Anglais...

Programme du cours : ce que vous apprendrez dans ce cours

Semaine
1
Heures pour terminer
5 heures pour terminer

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....
Reading
10 vidéos (Total 67 min), 5 lectures, 1 quiz
Video10 vidéos
Introduction to the Spyder IDE10 min
Arithmetic operations1 min
Our first functions4 min
Creating strings and using them in print statements.7 min
The "input" statement and combining strings5 min
Using the "if" statement11 min
Converting strings to numbers. Using the remainder operator10 min
Introduction to loops - the "while" loop5 min
The "for" loop; tracking down errors6 min
Reading5 lectures
Setting up Spyder10 min
Starting Python. Our first lecture and exercise file.10 min
Exercises1.py -- the exercise/lecture file for this module.10 min
Note about a minor problem with Spyder10 min
Practice functions for debugging Python code10 min
Semaine
2
Heures pour terminer
4 heures pour terminer

Working with Lists and Importing Libraries. The Random library.

Lists, datatypes, libraries, the random library....
Reading
9 vidéos (Total 59 min), 1 lecture, 1 quiz
Video9 vidéos
Lists continued5 min
Stepping through lists using loops2 min
Introduction to datatypes3 min
Converting datatypes2 min
Working with lists of sublists; writing a small report8 min
Lists continued9 min
Introduction to libraries. The random library.7 min
More on Loops and Append10 min
Reading1 lecture
Exercises 2 -- the exercise/lecture file for this module.10 min
Semaine
3
Heures pour terminer
5 heures pour terminer

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....
Reading
7 vidéos (Total 69 min), 5 lectures, 1 quiz
Video7 vidéos
Reading and writing files6 min
Running Python Programs (Windows)5 min
Installing Environments on a Mac5 min
Running Python Programs (Mac)3 min
Writing scripts in Python17 min
Reading and writing CSV files19 min
Reading5 lectures
Exercises3.py -- The exercise/lecture file for this module.10 min
Python files needed for this module.10 min
Text and CSV files used during this module.10 min
FAQ/Errata: Change in Spyder; Running in a Command Prompt10 min
If python does not run, read this file.10 min
Semaine
4
Heures pour terminer
4 heures pour terminer

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....
Reading
10 vidéos (Total 62 min), 2 lectures, 1 quiz
Video10 vidéos
Descriptive statistics15 min
Formatting print statements5 min
Starting the database application7 min
Displaying the records4 min
Adding and deleting records5 min
Editing records3 min
Saving records to a CSV file1 min
Loading the records from the CSV file4 min
Running our database application as a stand-alone program2 min
Reading2 lectures
Exercises4.py -- the exercise/lecture file for this module.10 min
Additional program and data files needed for this module.10 min
4.6
Orientation de carrière

28%

a commencé une nouvelle carrière après avoir terminé ces cours
Avantage de carrière

83%

a bénéficié d'un avantage concret dans sa carrière grâce à ce cours

Meilleurs avis

par LRJan 4th 2017

Quite interesting introduction to Python, focusing on the most important components of the language. Looking forward to other courses using the same format. Thank you Bill and team for your hard work.

par SADec 31st 2017

It is well done but it is very basic. The method is good since we get the basic programs to work with them and follow the lectures. The instructor explains things in a detailed and clear manner.

Enseignant

Avatar

Bill Boyd

Visiting Associate Professor and Visiting Scholar
Quantitative Analysis Center

À propos de Wesleyan University

At Wesleyan, distinguished scholar-teachers work closely with students, taking advantage of fluidity among disciplines to explore the world with a variety of tools. The university seeks to build a diverse, energetic community of students, faculty, and staff who think critically and creatively and who value independence of mind and generosity of spirit. ...

Foire Aux Questions

  • Une fois que vous êtes inscrit(e) pour un Certificat, vous pouvez accéder à toutes les vidéos de cours, et à tous les quiz et exercices de programmation (le cas échéant). Vous pouvez soumettre des devoirs à examiner par vos pairs et en examiner vous-même uniquement après le début de votre session. Si vous préférez explorer le cours sans l'acheter, vous ne serez peut-être pas en mesure d'accéder à certains devoirs.

  • Lorsque vous achetez un Certificat, vous bénéficiez d'un accès à tout le contenu du cours, y compris les devoirs notés. Lorsque vous avez terminé et réussi le cours, votre Certificat électronique est ajouté à votre page Accomplissements. À partir de cette page, vous pouvez imprimer votre Certificat ou l'ajouter à votre profil LinkedIn. Si vous souhaitez seulement lire et visualiser le contenu du cours, vous pouvez accéder gratuitement au cours en tant qu'auditeur libre.

D'autres questions ? Visitez le Centre d'Aide pour les Etudiants.