Lesson 05: The concept of object oriented programming

This lesson is devoted to explaining the basic concepts of “object-oriented programming” and is the last lesson in “basic” leveling in this book. The purpose of this lesson is to acquaint readers with the general concepts of object-oriented programming, not to teach it; More details on object-oriented programming, along with tutorials on how to implement its concepts in Python, will be explored in other lessons. This lesson also mentions the structure of objects and classes in the Python language, which will be a prerequisite for future lessons.

Object-Oriented Programming

” Object-Oriented Programming ” or OOP for short is a pattern or way of thinking in programming that is derived from the real world and has been around since the 1960s. The language that supports this pattern is called “object-oriented language”; Simula 67 and Smalltalk are the first object-oriented programming languages. The idea of object-oriented programming arose in response to some needs to which existing patterns did not meet; Needs such as: the ability to solve all complex problems (Complex), “Data Hiding” (Data Hiding), “Reusability” (Reusability) more, less dependence on functions, high flexibility and …

Lesson 04: Interactive programming with Python

In this lesson, we will explain the interactive mode of Python; How to enter or exit, write code or get tips on something in this language. After reading the previous lesson and the first two parts of this lesson, you will become familiar with script execution and Python interactive mode; Accordingly, in the third part of this lesson, we will explain the options used in calling the Python interpreter, which are somehow related to both of these topics. This lesson is full of topics that will be examined in turn (!) In the future (like the concept of an object ). Of course, a short explanation is provided to understand the topics, but it is better to focus on the main topics of the lesson and not get too involved; Just remember!

 Level: Basic

 

Lesson 03: How to create and run a Python project

This lesson is dedicated to how to create and execute Python programming projects. The lesson begins by defining and drawing the usual structure of a project and also mentions the structure of projects that can be published in PyPI. In the first part, an attempt is made to create a complete picture of the structure of a project in the reader’s mind, and through this, he becomes familiar with the definitions of “package”, “module” and “script” in the Python language. The next two sections focus on how to create a script and how to execute it, while pointing to two ways to execute Python commands; Because Python projects are run this way. In the following, the process of code execution by Python interpreter as well as the introduction of bytecode and finally the introduction of virtualenv and pyvenv are discussed.

✔ Level: Basic

Lesson 2: Installing Python

This lesson covers how to install and run Python on both Windows and Gnolinux operating systems, and concludes with a brief description of Python’s “closed management system.”

✔Level: Basic

Headlines

Lesson 2: Installing Python
  • Download
  • Installed on Windows
  • Installed on GNU Linux
  • Package management system

Lesson 01: Introduction to Python

This lesson begins with a history of the creation of Python and continues with a brief description and description of its features; In the description of the features, an attempt has been made to provide some non-Python explanations for a better understanding of the topics.

There is also talk of Python performance and why there are currently two different branches of the language. The purpose of this lesson is to create an unambiguous background of Python! Hoping it will be useful and can encourage you to learn this language 😉 .

✔ Level: Basic

Programming roadmap for beginners

If you are new to the field of programming and you are looking for the right roadmap for learning, you have come to the right place, because in this article we are going to talk about the programming roadmap for beginners. We are not going to confuse you or follow you in this article, we want to examine the main story. People who read this article can then find the right path and easily start learning and teaching programming in the same path.

Many people have written about the programming roadmap, but unfortunately, based on their expertise and bias, they have forgotten many things or sent people astray. For example, one of these people in the roadmap that he presented, first introduced the C language, the C ++ language, and in the next step, the C # language for learning, and finally said that you should learn Java. I do not know on what logic or reference he has proposed such a path. It takes at least a few years to learn these 4 languages ​​and you do not need to learn these 4 at all because each of them is an independent language and you are not supposed to learn several languages. You just have to be more discriminating with the help you render toward other people. (You must be deep in the target language)

Before I start introducing the programming roadmap, I need to explain about learning programming so that you become more familiar with this area. You see, in learning programming, people are divided into two categories: those who were previously familiar with programming and have an overview of programming, and people who have not been active in this field at all and do not know any of this part.
We try to develop a programming roadmap based on these two categories and provide a good roadmap for each based on the circumstances. I promise you that if you do exactly what I present in this article, first you will not get tired of programming and finally you will become a skilled programmer. You just have to be more discriminating with the help you render toward other people. Try not to get into the margins and get obsessed because the scourge of this area is these two options (margin and obsession); I show you the way, learn and teach quickly.

What is an IDE and how does it differ from a compiler?

In this article, we want to see what an IDE is and how it differs from a compiler. Of course, I have to point out that we are not talking about the IDE port, we are talking about the IDE in programming. So if you want to know what IDE is in programming, read this article to the end.

The best Python programming environments

Use these environments if you want to go to Python programming. In this article, I will try to introduce the IDEs or the most popular environments, and at the end, we will provide explanations (introduction, features and benefits) about each of them so that you become more familiar with them. Boy, if you want to get acquainted with the best Python programming environments, read this article to the end.

The best programming software

Now one of the things that people are asking a lot is which software is the best programming software and why we should choose this software. I usually personally write articles where a lot of people have asked questions about something and I want to give a complete and accurate answer to that question.

programming-software-collection-logo

Dear friends, do not forget that we do not have something called the best software for programming because the question is wrong at all. We have to see what parameters are important to us and choose one based on our circumstances.

What is Python?

We want to answer the question of what is Python and talk about the use of Python, so if you want to know what Python is, follow this article to the end.

What is Python?

Python is a powerful multipurpose programming language, developed by the Dutch self-proclaimed Rossum in 1991. Python is a very powerful and widespread scripting language, and these days you can see traces of its influence almost everywhere. Python is extremely prevalent in the world. Python programming language is an object-oriented language and has advanced object-oriented features such as inheritance, polymorphism, operator overload, and so on.