Code with Sara
  • Home
  • Sara’s Little Coders
    • Coding Games
      • Unit 1: Pattern-Matching Games
      • Unit 2: Simple Coding Games
    • Scratch for Beginners
    • Intermediate Scratch Coding
    • Scratch Movies
    • Drawing with Scratch
  • Python with Sara
    • Python with Sara 101
      • Unit 1: Starting with Python
      • Unit 2: Python Turtle Graphics
  • Blog
  • Glossary
  • Who Is Sara?

CWS Admin

Python Python 101

Python 101 Q&A

We are working on a Python-related forum where users can post questions and have the community (or us) answer them. Until it is ready, please leave a reply below to ask questions or make suggestions. We’ll do our best to answer them all either in the comments or in separate Read more…

By CWS Admin, 5 yearsJanuary 6, 2019 ago
Word Press

How To Start Your Own Website

Before you start thinking about the design of your website, there is so much more that you need to consider. What will be the name of your site? Who will register and host your site? What technology should you use to create your web pages? There are great resources out Read more…

By CWS Admin, 5 yearsJanuary 3, 2019 ago
Word Press

Word Press Blues

Are you creating your very first Word Press site? Or are you thinking about creating one? Then perhaps this series of blogs will help you and make your life easier. Originally, we wanted Code with Sara to be just about coding. But as we struggled with creating it, we realized Read more…

By CWS Admin, 5 yearsJanuary 3, 2019 ago
Advanced Python Python

First Python Program in VSC

In Enabling Python in VS Code, we customized Visual Studio to include support for Python programming.  In this post, we complete the installation of Python-supporting features and use our newly-customized, Python-enabled Visual Studio Code to write our very first Python program. The easiest way to complete the installation of all Read more…

By CWS Admin, 5 yearsDecember 19, 2018 ago
Advanced Python Python

Enabling Python in VS Code

If you have not yet installed VS Code on your computer, please refer to Installing Visual Studio Code and Installing VS Code on Windows 10 for details on how to do it for your operating system. Visual Studio does not support Python right out-of-the-box. Before you can write and execute Read more…

By CWS Admin, 5 yearsDecember 19, 2018 ago
Advanced Python Python

Installing VS Code on Windows 10

In the previous post, Installing Visual Studio Code, we talked about why having Visual Studio makes coding easier. Let’s now walk together through the steps of installing Visual Studio Code on Windows computer. The process is very similar for other platforms (macOS and Linux) and other versions of Windows. Click Read more…

By CWS Admin, 5 yearsDecember 18, 2018 ago
Advanced Python Python

Installing Visual Studio Code

To write even the simplest program that would run on your computer, you need to do : Write the actual program in some high-level programming language and store it in a file. This is the source code for your program. Compile the source code into a form that the operating Read more…

By CWS Admin, 5 yearsDecember 17, 2018 ago
  • Home
  • Sara’s Little Coders
  • Python with Sara
  • Blog
  • Glossary
  • Who Is Sara?
Hestia | Developed by ThemeIsle

Python interpreter

An interpreter is a program that executes other programs. When you try to execute a Python program, Python interpreter converts Python source code, one statement at a time, into the machine language and sends it to the operating system for execution by the CPU.

Machine language

Machine language, or machine code, is a set of instructions that can be directly executed by the CPU. Each instruction has a very specific task (read, add, load, etc.) and is encoded in a binary code; i.e. a sequence 0’s and 1’s. Machine language is the only language directly understood by the computers. Any higher language first needs to be translated into the machine language before the CPU can execute it.

The below is true for compiled languages. For interpreted languages, all you need is a source code for your program and an interpreter.