About this Course
56,928

100% 온라인

지금 바로 시작해 나만의 일정에 따라 학습을 진행하세요.

탄력적인 마감일

일정에 따라 마감일을 재설정합니다.

초급 단계

완료하는 데 약 14시간 필요

권장: 4 weeks of study, 4-5 hours/week...

영어

자막: 영어

귀하가 습득할 기술

Python Syntax And SemanticsPython LibrariesComputer ProgrammingPython Programming

100% 온라인

지금 바로 시작해 나만의 일정에 따라 학습을 진행하세요.

탄력적인 마감일

일정에 따라 마감일을 재설정합니다.

초급 단계

완료하는 데 약 14시간 필요

권장: 4 weeks of study, 4-5 hours/week...

영어

자막: 영어

강의 계획 - 이 강좌에서 배울 내용

1
완료하는 데 5시간 필요

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....
10 videos (Total 67 min), 5 readings, 1 quiz
10개의 동영상
Introduction to the Spyder IDE10m
Arithmetic operations1m
Our first functions4m
Creating strings and using them in print statements.7m
The "input" statement and combining strings5m
Using the "if" statement11m
Converting strings to numbers. Using the remainder operator10m
Introduction to loops - the "while" loop5m
The "for" loop; tracking down errors6m
5개의 읽기 자료
Setting up Spyder10m
Starting Python. Our first lecture and exercise file.10m
Exercises1.py -- the exercise/lecture file for this module.10m
Note about a minor problem with Spyder10m
Practice functions for debugging Python code10m
2
완료하는 데 4시간 필요

Working with Lists and Importing Libraries. The Random library.

Lists, datatypes, libraries, the random library....
9 videos (Total 59 min), 1 reading, 1 quiz
9개의 동영상
Lists continued5m
Stepping through lists using loops2m
Introduction to datatypes3m
Converting datatypes2m
Working with lists of sublists; writing a small report8m
Lists continued9m
Introduction to libraries. The random library.7m
More on Loops and Append10m
1개의 읽기 자료
Exercises 2 -- the exercise/lecture file for this module.10m
3
완료하는 데 5시간 필요

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....
7 videos (Total 69 min), 5 readings, 1 quiz
7개의 동영상
Reading and writing files6m
Running Python Programs (Windows)5m
Installing Environments on a Mac5m
Running Python Programs (Mac)3m
Writing scripts in Python17m
Reading and writing CSV files19m
5개의 읽기 자료
Exercises3.py -- The exercise/lecture file for this module.10m
Python files needed for this module.10m
Text and CSV files used during this module.10m
FAQ/Errata: Change in Spyder; Running in a Command Prompt10m
If python does not run, read this file.10m
4
완료하는 데 4시간 필요

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....
10 videos (Total 62 min), 2 readings, 1 quiz
10개의 동영상
Descriptive statistics15m
Formatting print statements5m
Starting the database application7m
Displaying the records4m
Adding and deleting records5m
Editing records3m
Saving records to a CSV file1m
Loading the records from the CSV file4m
Running our database application as a stand-alone program2m
2개의 읽기 자료
Exercises4.py -- the exercise/lecture file for this module.10m
Additional program and data files needed for this module.10m
4.6
727개의 리뷰Chevron Right

29%

이 강좌를 수료한 후 새로운 경력 시작하기

24%

이 강좌를 통해 확실한 경력상 이점 얻기

최상위 리뷰

대학: 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.

대학: 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.

강사

Avatar

Bill Boyd

Visiting Associate Professor and Visiting Scholar
Quantitative Analysis Center

웨슬리언 대학교 정보

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. ...

자주 묻는 질문

  • 강좌에 등록하면 바로 모든 비디오, 테스트 및 프로그래밍 과제(해당하는 경우)에 접근할 수 있습니다. 상호 첨삭 과제는 이 세션이 시작된 경우에만 제출하고 검토할 수 있습니다. 강좌를 구매하지 않고 살펴보기만 하면 특정 과제에 접근하지 못할 수 있습니다.

  • 수료증을 구매하면 성적 평가 과제를 포함한 모든 강좌 자료에 접근할 수 있습니다. 강좌를 완료하면 전자 수료증이 성취도 페이지에 추가되며, 해당 페이지에서 수료증을 인쇄하거나 LinkedIn 프로필에 수료증을 추가할 수 있습니다. 강좌 콘텐츠만 읽고 살펴보려면 해당 강좌를 무료로 청강할 수 있습니다.

궁금한 점이 더 있으신가요? 학습자 도움말 센터를 방문해 보세요.