Programming Foundations with Python
Offered By: Udacity
Course Description
Overview
In this introductory programming class, you’ll learn Object-Oriented Programming, a must-have technique for software engineers that will allow you to reuse and share code easily. You’ll learn by doing, and will build byte-sized (ha!) mini projects in each lesson to learn and practice programming concepts.
We’ve heard that programming can be intimidating for newcomers, and we’ve created this course to make sure that you have a great learning experience! You’ll learn actively with our mini projects (see the awesome list below), which you’ll be able to share proudly with your friends. You’ll also learn important programming concepts one by one, with no surprises or leaps of logic along the way.
You’ll pick up some great tools for your programming toolkit in this course! You will:
- Start coding in the programming language Python;
- Reuse and share code with Object-Oriented Programming;
- Create and share amazing, life-hacking projects!
This introductory course is for you if you want to be a software engineer, or if you want to collaborate with programmers. Mastering Object-Oriented Programming will propel your career in tech forward, and it’s also a great way to learn how software engineers think about solving problems.
This course is also a part of our Full Stack Web Developer Nanodegree.
Why Take This Course?
You should take this course if you want to build awesome projects, while writing only a few lines of code. Here are some of them:
- Project Take a Break: Do you know a friend who works too many hours? We will write a program that schedules breaks throughout the day -- reminding your friend to listen to music, get up and dance to their favorite song, or just walk away from the computer every once in awhile. http://youtu.be/C29aerpwkc8
- Project Profanity Editor: Imagine it’s late at night and you get an email from your boss, requesting your help with something. You reply, "I can take a shot at it" but accidentally end up including an awkward word (sh*t). Oops. We will write a python program that detects curse words, and saves clumsy email writers from embarrassing moments. http://youtu.be/Rvj2UI-wVXA
- Movie Website: We will learn how to make an awesome webpage that lists your favorite movies and shows their trailers. https://www.youtube.com/watch?v=X0FoelOIZM0&t=1m24s
While building these projects we will learn about a programming technique that is used by software engineers on a daily basis; it is called Object-Oriented Programming.
Finally, we will work together to get better at reading help documents and using other people’s code almost like lego blocks to build our programs. By building these projects, you’ll become more confident in your ability to code and transition from "programming looks like magic" to "oh, I can do that."
Syllabus
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.
Taught by
Kunal Chawla
Tags
Related Courses
Advanced CloudFormation: Macros (Simplified Chinese)Amazon Web Services via AWS Skill Builder Advanced Java Concurrency
Vanderbilt University via Coursera Advanced Monitoring and Optimizing with DynamoDB (Traditional Chinese)
Amazon Web Services via AWS Skill Builder Advanced SAS Programming Techniques
SAS via Coursera Amazon DynamoDB for Serverless Architectures (Spanish)
Amazon Web Services via AWS Skill Builder