Posts

Showing posts with the label chapter 2

Learning_Python_Chapter_2_Part_2

Chapter 2 Part 2  of 2 Hello everyone, Learning_Python_Chapter_2_Part_1 was very difficult to write and understand, I’ll try to make things more easier this time. First thing I need is to not get reported by my audience for roasting their brain.  If you have any doubts with any concept please provide comments. Lets assume that you are a genuine blog reader and then move forward.  Let's recall the bubble diagram and example of Roti making process from last blog. FROZEN BINARIES On our computer, when we want to open any application then we simply do click on it, we can make our python program to work like that. When ByteCode is created in our system, all the important instructions are stored in the form of binaries. This process happens at the part of compilation. The title explains that we freeze these binaries to use them later. In short, it is possible to turn your Python program into an executable file, known as Frozen Binaries in ...

Learning_Python_Chapter_2_Part_1

Chapter 2 Part 1  of 2 Today, we are going to start chapter 2 and skipping a few points from chapter 1, don’t worry, I’ll cover them later. Let’s start with the most important concept.  Introducing the Python Interpreter  Firstly, what is an interpreter? As we know, languages like Python are not platform dependent. That means, scripts that we are writing are compatible on windows,Linux or any other operating system. Also, it is not hardware dependent; we can run a Python script on Intel chip or any other like AMD. So, what give Python that ability? “An interpreter is a kind of program that executes another program” Woo... a program to run another program. Designing or writing these type of systems are currently beyond our reach but what we can do now is, we can learn them or understand them and can use them. Simple! “ The interpreter is a layer of software logic between your code and the computer hardware of your computer ” When...