SE Can't Code

A Tokyo based Software Engineer. Not System Engineer :(

Programming Foundations with Python at Udacityを修了した.

Pythonの基礎的な内容を改めて受けたいと思って、Udacityの「Programming Foundations with Python」を受講した。

www.udacity.com

ビギナー向けの簡単過ぎる内容ではあったが、最近はPython初めての人に基本的な書き方を教えるための教材を作っているので、良い参考になった。講義の中でWebアプリを作ったりするんだけど、久しぶりにWeb関連のことをやったので楽しかった。

Contents

Lesson 0: Introduction (30 min)

We will begin with an introduction from the instructor. More specifically, we will talk about the projects we will build and the ideas we will learn in this course. Then we will conduct a short test to ensure you have all the prerequisites necessary for the course. Finally, we will work together to download Python on your computer.

Lesson 1: Using Functions (3.5 hours)

We will use functions (webbrowser.open and os.rename) from the Python Standard Library to build two projects in this lesson. After that we will present a scenario where using functions will not present a very elegant solution; this will illuminate the need for a new programming tool called Classes.

Lesson 2: Using Classes (5 hours)

Here we will learn about important object-oriented programming concepts like classes and instances. We will build three cool projects while using classes. These include drawing shapes with Turtle, sending text messages with Twilio and checking curse words with a function called open. We will leverage modules from within the Python Standard Library and also learn to download and use an external Python package (twilio).

Lesson 3: Making Classes (5 hours)

In this lesson we will learn to create our first class. While doing this we will build a website that plays trailers of your favorite movies. Here are some of the programming ideas we will learn in this lesson:

  • How to create a class
  • How to instantiate an object
  • How to access class attributes and methods
  • What is the self keyword
  • What are constructors (init)
  • What are DocStrings
  • How to create and access Class Variables
  • How does Inheritance work
  • How to override methods

Final Project (6 hours)

Here, you will use the skills learned in this course to identify a problem statement and idea for a project. You will then identify step-by step directions (in simple English) to design a solution for the previously identified problem. Finally, you will use this design and your newly learned object-oriented programming skills to write code to realize your project.

Python初学者にはオススメ。

Remove all ads