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 posts.

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 that maybe we can also help others, who are creating their very first Word Press sites. Have you ever seen a site that you really liked? That you wanted to Read more…

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 there for all of these. You can search for ideas on the web; one of our favorite websites at this stage was There is a lot that goes into Read more…

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 Python-supporting features in VSC is to write a simple Python program. Visual Studio Code is smart enough to realize that there are still some Python-related features missing and will help Read more…

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 Python programs in any version of Visual Studio, you first need to install a few additional features. In this post, we’ll walk together through the installation process. In the subsequent Read more…

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 on the Visual Studio Code installer link. This should automatically start a download of a small executable file called VSCodeUserSetup-x64-1.30.0.exe. This is the VS Code installer that will download and Read more…

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 system of your computer can understand. Result of the compilation is called the executable and typically has the extension “.exe”. Run the compiled program. All this sounds rather complicated for Read more…

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.

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.

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