Installing PyScripter to work with different Python versions

Installing and getting to know the new PyScripter IDE for use with the Python 2.7.1 or Python 3.8 programming language. This is a small beginner’s guide. We will be working in the Windows operating system.

Find out the Windows version

Before installing Python, we have to clarify the Windows version – 64-bit or 32-bit.

You can do it like this:

  1. Click the Start button and click Settings.
  2. Then go to System and then About System.
  3. Your system type will display 64 bit or 32 (see image below)
  4. Fix the version so that further at all stages the versions of the programs fit the OS.

In Windows 7, you can see the OS version like this:

  1. Click “Start”
  2. We find in the right panel “Computer”
  3. Right-click on “Computer” and select “Properties”
  4. We see the OS version (see image below)

Download Python

Next, we need to download Python. At this step, many questions arise, since there are many programs for the 2nd version of the Python programming language (for example, 2.7.1). The new stable version is 3.8.2.

For beginners, those who are just coming to Python, you can safely install the latest stable version. If you need to use 2.7. *, You should download the corresponding version.

Don’t forget to download the correct version for your Windows version (64 or 32 bits). All versions of Python for Windows can be downloaded from the official website.

  1. Go to the Python website.
  2. Scroll down the page.
  3. Select the required version (2.7. * Or 3.8. *).
  4. Choose the installer “Windows x86-64” for 64-bit machines or “Windows x86” for 32-bit machines.

Install Python

Once you’ve downloaded Python, let’s proceed with installing it.

Write your first C ++ game

  1. Run the .exe and be sure to check the box “Add Python to PATH” (see image below), in English – “Add Python to PATH”.
  2. Then click “Install Now”.
  3. When finished, you can click “disable path length limit”.

You now have Python installed. You can close the installer.

Download PyScripter

Now it’s time to download the PyScripter IDE – an integrated development environment In which you will write code and run the interpreter.

To download our development environment, do the following:

  1. Go to the Sourceforge website.
  2. Click on the latest version (e.g. PyScripter-v3.6)
  3. Click on x64-setup (for 64-bit computers) or x86-setup (for 32-bit computers) version, for example PyScripter-3.6.3-x64-Setup.exe.
  4. We are waiting for the download of the installer.

You can also download the * .exe file of the PyScripter installer version 3.6.3 below in a zip archive from our website:

Unzip the file before installing.

Install PyScripter

Let’s go through the steps of our IDE installer. The installation is generally standard:

  1. Choose your language.
  2. Click Next.
  3. Select the installation location. By default, everything is fine here. Select “Next”.
  4. Click Next again on the Start folder screen.
  5. If you want to have a shortcut on the desktop, then you can select it from this screen. (see image below).
  6. Click “Next” and wait for the installation to complete.

Writing our first program

After you have successfully installed PyScripter, you can launch the PyScripter IDE and write your first program.

  1. Go to your desktop and double click the PyScripter icon.
  2. It should open without error. If not, then there are usually two options:
    – you’ve probably installed 64-bit Python with 32-bit PyScripter (or vice versa);
    – you have installed PyScripter, but DON’T INSTALL Python itself.

Now let’s write your first program.

We erase the code in the main editor screen:

def main():
pass
if __name__ == '__main__':
main()

Next, we type the classic hello world output program:

print ( 'Hello World!')

Then press the green “Run” button in the top row of control icons to start your program.

You will see that the interpreter has output your text below in the console.

You can issue commands in the console and receive responses. For example, typing “2 + 2” and pressing “Enter” will give you the answer 4.

That’s all. We installed Python, the PyScript development environment, and wrote the first program. Then there is only boundless fantasy.

About: Morozov Dmitry

My specialisation is software engineer. I am 35 years old and have been working in the IT field for over 15 years. I have accumulated experience in programming, project management, training and administration.