Learn Python, it's CAKE (Beginners)

Python training for beginners who would like to write programs but don't have a clue how to write python code.
  • Lectures 42
  • Video 8 Hours
  • Skill level all level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

Course Description

Computer Programming is Hard!
Or Is IT?

Learn Python In Under 10 Hours of Video Time

Today I am releasing the SECRETS. This python training course makes learning Python Programming CAKE. No Stiff Professor speaking to you from a carefully typed up script. This course is real relevant and the truth. The everyday person teaching the everyday person. Just like long time friends working together. Beginners will find this python course to be easy to get along with!

We will cover the important stuff with RECORDED Videos and we will work as a team with the Live Streaming Work Sessions!

What am I going to get from this course?

  • Over 42 lectures and 7 hours of content!

Curriculum

Section 1: Intro
04:31

Is this a baking class???

NO...It's Python, the computer programming Language and this is the Course you should take to learn it.

This Video tells YOU why!

Section 2: Getting Starting
08:33

This video will explain how this video should be used to get the best outcome.

The course will be divided into two main sections with a source code download section at the end.

The first section will teach you the basics of the Python Language while the second section will walk you thru the 5 programs we will be completing.

In the second section the process should follow this example:

Watch the first video to get an explanation of what the program is all about. Then go on your own to attempt to complete the program using the info this course has provided. After your attempt you should then watch the second video for the instructors solution for the program. He will walk you thru each line of code.

This pattern should be followed for all five programs in the second section of the course.

If you get stuck on a program there is the source code available for download.

05:44

Downloading Python

Before you start, you will need Python on your computer, but you may not need to download it.

First of all check that you don't already have Python installed by entering python in a command line window. If you see a response from a Python interpreter it will include a version number in its initial display. Generally any recent version will do, as Python makes every attempt to maintain backwards compatibility.

If you need to install Python, you may as well download the most recent stable version. This is the one with the highest number that isn't marked as an alpha or beta release. Currently the stable version of Python 2 is Python 2.7.2. The current stable version of Python is Python 3.2.

For advice on choosing between Python 2 and Python 3 see Python 2 or 3.

If you're running Windows: the most stable Windows download (Python 2) is Python 2.7.1 for Windows. For Python 3 it is Python 3.2 for Windows.

If you're running Windows XP: a complete guide to installing ActivePython is at Python on XP: 7 Minutes To "Hello World!". ShowMeDo has two videos for downloading, installing and getting started with Python on a Windows XP machine - this series talks you through the Python, ActivePython and SciPy distributions.

If you are using a Mac, see this page. MacOS 10.2 (Jaguar), 10.3 (Panther), 10.4 (Tiger) and 10.5 (Leopard) already include various versions of Python.

For Red Hat, install the python2 and python2-devel packages.

For Debian or Ubuntu, install the python2.x and python2.x-dev packages.

For Gentoo, install the '=python-2.x*' ebuild (you may have to unmask it first).

For other systems, or if you want to install from source, see the general download page.

Section 3: Data Types
02:02
A nice tool for determining the Type of an object is explained in this video
07:22
Our first Data type is introduced, Numeric Types.
03:52
This video will explain the different operation you can perform on Numeric Types.
Numeric Type Quiz
3 questions
05:05
Our next Data type group is Sequence Types. In this video we will introduce them and discuss the first sequence type, Strings.
06:03
When dealing with strings, escaping is very important and this video reviews string escaping.
07:54
This video discusses one option for string formatting.
07:38
This video discusses the second option for string formatting.
Sequence Types - Strings Quiz
2 questions
07:54
The next two types in Sequence types are, lists and tuples. This video will introduce them.
08:49
This video discusses the different operations you can run on Lists
Sequence Types - List Quiz
2 questions
04:52
A new data type group is introduced and we discuss dictionaries.
09:04
This video will introduce the operations you can run on Dictionaries
Mapping Types - Dictionary Quiz
4 questions
06:33
An introduction to Truth Testing
Section 4: The Need to Know (Approx. 3 hours)
10:53

Variables are so important they even showed up in module 1 before I had a chance to explain them. We need to cover variables early on and so it is the 2nd Module.

Variables are NOT Data, but instead just like a pin on a map. Let me explain. When you store data for the program to use, it is being stored in Memory. The Variable is then assigned the value representing the location in memory for that data. If you hear that the variable is like a box for storing data this would be INCORRECT.

Why is it important to know this. Well if you did not understand this concept you might end up with two variables representing the exact same data, while thinking the variable represents a copy. This would most likely lead to bugs in your program.

So watch this short video explaining the basics about variables.

Hope you enjoy it and please feel free to comment.

36:44

Module 4 - Your First Program

09:39

This video walks thru the First Program python file. The file can be downloaded for your review.

18:24

One of the key things to writing good code and to creating programs with speed is to not repeat yourself.

When you repeat code in your program you will need to make sure it get updated properly when you make changes. That situation is typically the reason for many bugs and problems.

In this video we will discuss the power of using Functions to create re-usable code blocks.

13:34

Similar to how we created re-usable code blocks with functions we can do the same with Python Modules.

If we did not have python modules or the import feature we would need to write all of code from scratch in a single python file. This would be a near impossibility on larger programs.

This video will discuss how we can break up our program into modules and separate files to better organize how we write code.

12:19

Have you ever read one of those 'decision' books where you can change the storey by making different decisions. Well the if statement allows you to do just that with a program.

You can have the program run different functions depending on some value. This makes many things possible and is why the if statement is one of the more powerful features of programming.

This video will run through a basic explanation of how the if statement words.

Please feel free to comment.

17:32

Loops in programming are extremely important. They are what keeps the program running. Without Loops we would have to continually write line after line of code so our program would not terminate and this would be an impossibility.

We will be learning two types of loops for Python which are the ‘FOR LOOP’  and the ‘WHILE LOOP’

When we combine loops with the if statement we can really start to see sophisticated programs coming to life.

This video will explain the two types of loops and we will be utilizing loops a great deal for the rest of the course.

Please feel free to comment.

31:34

The power of regular expressions is that they can specify patterns, not just fixed characters. Here are the most basic patterns which match single chars:

  • a, X, 9, < -- ordinary characters just match themselves exactly. The meta-characters which do not match themselves because they have special meanings are: . ^ $ * + ? { [ ] | ( ) (details below)

  • . (a period) -- matches any single character except newline 'n'

  • w -- (lowercase w) matches a "word" character: a letter or digit or underbar [a-zA-Z0-9_]. Note that although "word" is the mnemonic for this, it only matches a single word char, not a whole word. W (upper case W) matches any non-word character.

  • b -- boundary between word and non-word

  • s -- (lowercase s) matches a single whitespace character -- space, newline, return, tab, form [ nrtf]. S (upper case S) matches any non-whitespace character.

  • t, n, r -- tab, newline, return

  • d -- decimal digit [0-9] (some older regex utilities do not support but d, but they all support w and s)

  • ^ = start, $ = end -- match the start or end of the string

  • -- inhibit the "specialness" of a character. So, for example, use . to match a period or \ to match a slash. If you are unsure if a character has special meaning, such as '@', you can put a slash in front of it, @, to make sure it is treated just as a character.
19:00

Sometimes when you are creating a loop to manipulate data, the loop is not very big. even a single line of code. There are a few tricks that can make the code you write clean and simple.

This video will wrap up this portion of the course with some tips and tricks dealing with small loops.

Section 5: Python in Real Life (Approx. 2 1/2 hours)
15:23

Python can help even at the restaurant table. I am sure you have seem, heard, or even own one of those smart phone apps that help a group of people split the bill after a meal. Well we are going to create the guts of that programme using Python.

The concept behind the programme is to gather a few bits of info then return the payment a single person will need to pitch in. We will ask three questions:

1) How much is the total bill?

2) How many people will be splitting the bill?

3) What percentage will we tip?

With this information you will be able to calculate the individual payment. Let’s look at the outcome of this program:

This is a great programme to begin learning python on because it involves the user and it requires basic math and problem solving.

11:09

Now that you have had some time to attempt the program on your own, we will walk thru my personal solution.

I do hope everyone could work out some basic for of the exercise and remember that if you get stuck you should try and research the answer using the internet.

When you are first learning it is very important to write your comments with your code. This will help you understand why you are doing the things you are programming.

If you would like to look at the source code it can be downloaded in the downlaod section. Remember to try it on your own FIRST!

16:14

The main program in this module is the Nugget Calculator but there is also a Prime Number Program (Small but informative).I will explain the Chick Nugget Program.

Say you are having a party and everyone at the party puts an order in for some tasty Chicken Nuggets. They give you a rough number of how many they want.

The thing is the restaurant only sells the nuggets in packs of 6, 9, and 20. You could figure out the best combo of those packages to buy with a Pen and Paper, we we are all too lazy for that...Let's just write a Python Program to solve this problem.

Remember to give it a try on your own first...Look on the internet if you get stuck. Then make you way back to the next Module to see how I have written this Program. GOOD LUCK!

23:42

Now that you have had some time to attempt the program on your own, we will walk thru my personal solution.

I do hope everyone could work out some basic for of the exercise and remember that if you get stuck you should try and research the answer using the internet.

When you are first learning it is very important to write your comments with your code. This will help you understand why you are doing the things you are programming.

If you would like to look at the source code it can be downloaded in the downlaod section. Remember to try it on your own FIRST!

14:50

In this program we will be using Python to open up a text file and read the data, in this case some text (Alice in Wonderland .txt file)

Here is a link to the text I used in this video:

Once we get the file loaded we will gather all the words into a dictionary and count how many times the words appear in the text. We will then sort the dictionary based on the number count and this will allow us to print the top 20 word in the storey of Alice in Wonderland.

Below is a bit of code that explains opening a file.

Good Luck and remember to try it on your own before watching the next Module.

)

14:42

Now that you have had some time to attempt the program on your own, we will walk thru my personal solution.

I do hope everyone could work out some basic for of the exercise and remember that if you get stuck you should try and research the answer using the internet.

When you are first learning it is very important to write your comments with your code. This will help you understand why you are doing the things you are programming.

If you would like to look at the source code it can be downloaded in the downlaod section. Remember to try it on your own FIRST!

14:26

This is the Fifth and largest program we will do in this course. This program is a 2-Player Word Game and uses almost everything we have covered on Python so far.

The point of the game is the enter in a letter in the attempt of creating a word (which can be found in a text file). You want the letter you added to possible complete a word but you do not want the word to be complete. 

If you enter a letter and you create a finished word...you lose

If you enter a letter and there is no chance of completing a word...you lose

Sounds Complicated....well just watch the video and see how it is all supposed to work.

P.S. you will need to sort a dictionary by the value of an item...we have not covered this! Search the Internet for sorting a Dictionary... here is a HINT - Python Operator

20:25

Now that you have had some time to attempt the program on your own, we will walk thru my personal solution.

I do hope everyone could work out some basic for of the exercise and remember that if you get stuck you should try and research the answer using the internet.

When you are first learning it is very important to write your comments with your code. This will help you understand why you are doing the things you are programming.

If you would like to look at the source code it can be downloaded in the downlaod section. Remember to try it on your own FIRST!

14:42

Well this is it for learning so we will finish with a BANG. In Module 9 we mentioned that Python Regular Expressions were powerful and widely used. A Huge Topic.

So for this video to end it off, I will give you this bonus. A Program for look ing into our Alice.txt file and finding words.

Sounds like things we have done before, but with a twist…this program will ask the user for a couple of letters..then will will search the entire text document and grab every word that starts with that letter combo. This illustrates a very powerful use for Python and Regular Expressions.

This video will walk you thru how we create this program, so you don't need to attempt on your own unless your want to.

04:05

I would like to thank you for taking this course on Learning Python for Beginners.

We have covered a ton of information and given you the skills to go out and write some interesting code.

This video will just talk about what you could do next, after this course.

Thank you again. Happy Coding.

01:23

Link to "Python - The Next Level" course:

http://www.udemy.com/python-the-next-level/?couponCode=19820516  

Here is a Coupon Code for approx. 50% OFF cost of course: 19820516

(Coupon code included with link above)

</p>
06:28

Link to "Learn Google Appengine" course:

http://www.udemy.com/learn-google-appengine-its-cake/?couponCode=19820517

Here is a Coupon Code for approx. 50% OFF cost of course: 19820517

(Coupon code included with link above)

Section 6: Source Code
1.05 KB

First Program - Python Source ( For Module 5 )

Simply change the '.txt' to '.py' for the extension of the filename

2.07 KB

Tip Calculator  - Python File (For Module 11)

Simply Remove the '.txt' from the back of the filename

2 KB

Prime Numbers - Python Source ( For Module 14 )

Simply change the '.txt' to '.py' for the extension of the filename

145.06 KB

the Alice in Wonderland text used in module 15

1.23 KB

Alice_File -  Python File ( For Module 16)

Simply change the '.txt' to '.py' for the extension of the filename

6.28 KB

Simply Remove the '.txt' from the back of the file name

Instructor Biography

Jason Elbourne , Entrepreneur, Computer Programmer, College Professor

Jason Elbourne is an Entreprenuer and currently owns 3 businesses in the fields of Architectural Design, and Computer Programming

He has been teaching at the College level for 5 years and has an ability to simplify and explain complex concept to beginners who have very little background.

He prides himself on keeping things simple while have fun during the learning process. His videos will be laid back (no suit and tie) so just wear some comfortable clothes and get ready to learn.

Jason is know to say "Hands on learning is the ultimate path to a solid education."

With a down to earth and fun loving "Not So Serious" learning path, Jason feels his courses can make everyone feel comfortable learning even the hardest of topics.

Reviews

Average Rating
4.1
Details
  1. 5 Stars
    13
  2. 4 Stars
    3
  3. 3 Stars
    2
  4. 2 Stars
    1
  5. 1 Stars
    2
    • Steve Lowman

    Review of Course

    The information is good, the quality of the video is poor and hard to read, and near lesson 21 is a comment on this where the solution to use HD is mentioned. Would be nice if this was up front somewhere. The sound quality varies, some segments have good sound and some poor. Overall I did learn. Having text files summarizing what he is typing would help!!! There are some good Ideas but some get lost in the lack of text file showing they notes and sound. Don't know that I would spend money on another course by this person. Interesting his profile picture is shirt and tie and in the video he is a little "gangster", maybe he has improved since this video came out.

    • Greg Wheeler

    Good Course

    Good course for beginners

    • Qais Arsala

    Waaaaay too fast

    he is going waaaay too fast for beginners. Also, he should be teaching in Windows format and not apple. Udemy should be clear that this course would be more optimized by Apple users and have a separate course taught by someone that has windows....

    • Grant Schneider

    Okay...

    Covers the basics well and introduces necessary concepts for a beginner. It felt a bit unorganized and unplanned. As someone who has taught at a university, I understand how difficult this is, but it's extremely important. Made some of the videos a little hard to watch, but maybe I'm just impatient. For example, in one of the videos, the instructor refers to the semi-colon (;) at the end of the line. The problem is that the required syntax is actually a colon (:) but it's difficult to distinguish visually because the text on the author's screen is so small. Just a bunch of little things like this that wouldn't be a big deal by themselves, but the accumulation of these bugs bothered me a bit.

    • Laurence S.

    Excellent introduction into Python

    I had absolutely no knowledge of Python going into the course. I feel I have gained some real insight on the power of the language and how clear it appears to be as oppose to some languages. The instructor doesn't spoon feed you everything -- he makes you think, and get involved in looking up some things. Worthwhile. Thanks.

Show more reviews

What you get with this course

30 day money back guarantee

Lifetime access

Available on desktop, iOS and Android

Certificate of completion

Join the biggest student community

5,400,000

Hours of video content

21,000,000

Course enrollment

6,300,000

Students

Ready to start learning?
Preview this course