Technology. Explained.

Programming, Python Tutorial, Series

Python tutorial 01: introduction to Python programming

Python code

Although there are many Python tutorials online already, not many of them are beginner-friendly. With this Python tutorial we would like to begin a series of guides that will be suitable for any beginner. Our aim is to introduce anyone to Python programming. While this tutorial will address only Python, once you learn a programming language it will be easier to learn any other languages in the future. Starting from a high-level programming language (more details on that later) like Python makes it even easier to focus on algorithms without worrying too much about errors due to a more complex syntax.

With this Python tutorial you will be able to learn the basics of Python programming as quickly as possible, so that you will be able to dive into interesting and more complex projects.

Before we even think about installing Python, you may be wondering: “Why did these guys choose Python over other languages?”.

Why Python?

Python tutorial: logo

Before starting a Python tutorial, it makes sense to address this question and clarify why we thought of Python language right away. Not only do we think Python is the optimal choice for this tutorial, but we also believe Python is a great first programming language.

Who uses Python?

Python is among one of the most used programming languages nowadays, many famous websites or industrial softwares are written in Python, and their number might surprise you. Despite its ease of use, Python is well suitable for very complex projects. Some of the most famous services include Google, YouTube, Dropbox, Quora, Instagram, Reddit, Spotify, Blender, Gimp, Abaqus and many, many more. Curious to see more softwares written in Python? Take a look at this Wikipedia page.

Advantages of the Python language

There must be a reason why Python is so widespread, but what is this reason? Well…

  • First off: Python has a big and supportive community. For any doubt you may have or any question that may arise, chances are someone else had to face the same problem in the past. Even if the question has never been asked before, the Python community will be more than happy to help any beginner.
  • Python language is easier to learn. Of course, like everything in this life, programming takes some practice. But Python syntax was created in order to be clear and easy. Python is a high-level programming language, this means that the code better reflects human language. As you will see, the way you write code is similar to how you would formulate a sentence (way more than low-level programming languages, that better reflects how the machine itself “thinks”). Even though not as fast as C/C++ or Java, Python is able to save a lot of time when writing code, due to its characteristic of being a high-level programming language. Don’t believe it? Let’s say you are to write “Hello, World!” on the screen on Java
    …and Python
    See the difference in the amount of code required?
  • Python is flexible: as you will see, Python rules are not strict, meaning that you will have many ways to solve the same problem. Thinking about different approaches and their advantages or disadvantages plays an important role when trying to develop a programming mindset.
  • Python programming language is great for IT careers: according to the latest salaries information, Python language is one of the most required skills in the coding field, and it also offers a higher wage when compared to other programming languages.
  • Python language has a huge standard library, so whatever type of project you would like to work on (website, software, web application, etc.), chances are a library has been specifically created for that.

Who is this Python tutorial for?

Anyone who wants to learn Python. Really, that’s it. This Python tutorial is meant to be easy to follow for any beginner but, as time goes on, we plan to cover all the main topics about the Python language. This means that literally anyone will find something useful. The topics we will cover in this Python tutorial include (but are not limited to):

  • Python basics (installing Python, getting support, etc.)
  • Variables and different data types
  • Strings
  • if statements
  • for loops
  • while loops
  • Lists and dictionaries
  • User I/O
  • Functions
  • Classes
  • Errors and exceptions
  • Applications (from web scraping to emails and from images to game libraries)

Any topic we will cover will include some examples, so that you can start practicing right away.

What will I be able to do?

programming quote

Well.. Anything you can think of, literally. At least, anything that involves programming (but hey, a lot of stuff includes programming πŸ™‚ ).

Python is a very powerful and versatile language: by learning Python programming (this applies to most programming languages), you will be able to develop any personal or group project you are interested in. People do all kind of stuff with Python. Want to build a web applications? write a script to automate boring tasks on your computer? are you thinking about writing a game for mobile? Python can do that. How about a game for desktop? As you may have guessed, you can do that, too.

With Python you will be able to do just about anything that comes to your mind. It allows to create files and edit them, find information online, work with numerical data, perform scientific calculations, build games, write machine learning algorithms, integrate computer vision, use Arduino or Raspberry Pi, develop GUIs (Graphical User Interfaces) and much more.

Even though we will not cover in detail every topic mentioned above (that would take years!), with this Python tutorial you will learn everything you need to work on projects like these. If this is the first time you are coding, you will for sure feel extremely satisfied when you will be running your first Python script. The awesome thing is that most of the basic programming concepts you will learn, also applies to other programming languages.

As said above, there are dozens of online tutorials, but their lack often is that they are not beginner-friendly. We will do our best to give you a solid foundation on programming while giving suggestions on good Python programming habits.

Ready? Let’s dive into it.

python tutorial


Leave a Reply