Learning Python is fun

Welcome to ‘learning python is fun - for beginners’

Next: Installing Python

Intro

Lesson: 1

If you've never programmed before, this course is for you.
Python is one of the world’s most loved and used programming languages.
It’s powerful, versatile, and very easy to learn.

Python is widely used in various fields:

  • Web development
  • Data Science
  • Data analysis
  • Machine learning
  • Artificial Intelligence (AI)
  • Scripting and tooling

Learning Python is a no-brainer, and I promise you will be up and running quickly in this course.

Python for Everybody

a great alternative to this course

Alternative to this interactive course, you can check out the amazing 'Python for Everybody' FREE course if you wanna learn python in a video format

Why this course is awesome?

  • It’s gonna be fun & also completely FREE =)
  • It’s easy to read and understand
  • It’s written by an experienced writer and tutor who puts great care into the learning material and the order in which it is presented.
  • We have many interactive code examples you can run and edit that will help you to learn faster.
  • This course is practical. While focussing on getting stuff done in the real world, I also explain how and why things work.
  • We provides additional links on most pages to deepen your knowledge.
  • We offer many more free and premium courses for more advanced concepts in case you want to advance further quickly

About the instructor

Hi, I’m Yehonadav, I’m a software developer and entrepreneur.

I’ve been programming since 2015 And I used many programming languages in my career, but Python is one of my absolute favorites!

Although I love working on innovative and complex systems that are challenging to program, I also love teaching and learning =)

So in this little project I want to share my experience and hopefully help the next generation of python developers to get started and enjoy the experience of learning how to program.

more about me

What is Python?

Python is a computer programming language. In other words, it’s a vocabulary and set of grammatical rules for instructing a computer to perform tasks.

Its original creator, Guido van Rossum, named it after the BBC television show ‘Monty Python’s Flying Circus’. So you’ll find that Python books, code examples, and documentation sometimes contain references to this television show.

In 1987, Guido worked on a large distributed operating system in the Netherlands. And within that project, he had some freedom to work on side projects =)

With the knowledge and experience he had built up in the years before, working on a computer language called ABC, he started writing the Python programming language.

Python is easy to learn, and it’s designed around a set of clearly defined principles called the Zen of Python, that encourages Python core developers to make a language that is unambiguous and easy to use.

In a 2003 interview with Bill Venners, Guido mentioned what was probably the biggest innovation in Python and said:

I think my most innovative contribution to Python’s success was making it easy to extend. That also came out of my frustration with ABC. ABC was a very monolithic design. There was a language design team, and they were God. They designed every language detail and there was no way to add to it. You could write your own programs, but you couldn’t easily add low-level stuff.

Guido van Rossum

Python History

Guido decided you should be able to extend the language in two ways: by writing pure Python modules or by writing a module entirely in C.

While the former is way easier, the latter allows for a much faster high-performant modules like NumPy.

This decision gave Python huge success because programmers immediately started writing their own extension modules.

Enabling many people to write and share extension modules made Python explode with so many things you could do with it. Just a small selection of modules that exist today:

  • graphics libraries
  • data science and data processing with libraries like NumPy and Pandas
  • AI and machine learning libraries
  • libraries to work with all sorts of file formats like JSON & YAML
  • libraries to for using external services
  • building websites with Django or FastAPI

Python has 3 major versions so far

Versions Timeline

  • 1991 version 0.9 came out mainly as a basic scripting language
  • 1994 version 1.0 came out with a major change introducing functional programing
  • 2000 version 2.0 introduced list comprehensions and garbage collection
  • 2008 version 3.0 fixed design flaws in v2, and is not backwards compatible
  • 2020 version 2.718 reached it's end of life

Run Your First Python Program

Let’s dive in! We’ll run the Python code from your browser to get started quickly. Later you’ll learn all about installing Python on your computer.

You can keep using the online Playground, It allows you to enter Python code and run it by pressing the play button.

The print('Hello world') program is using the print() function. This function takes anything you put between the parentheses and prints it to the screen. But we must feed it the correct type of data for it to work: we need to put in text between quotes. In the world of computer programming, we call this a string.

Lesson Completed 👏

Great job! 🍺🍺“🎉“🎉

We will talk more about strings and other data types later, our next task is to install python.

Next: Installing Python