Quick Environment Setup

You can execute Python on your browser itself in this course.

However, it’s still good to know how to install Python and get your environment configured. Let’s quickly setup Python on your system.

Note: If you’re just trying out this course or already familiar with these steps then feel free to skip ahead to the next lesson.

Python is an open-source programming language that is available for free to download. Don’t worry! This won’t take you more than 5 minutes. Short and sweet!

1. Installing Python:

  1. To install Python, you must first download and install the Python library from their official URL. For your convenience I’ve provided the link over here:
  2. At the beginning of the install, make sure to check “add Python to PATH”. Then click Install now. That’s it! You’re done!

  1. Next you can install Pycharm IDE from JetBrains. Pycharm is one of the most widely used Python IDEs and quite beginner friendly.

    IDEs are software which consists of a collection of tools. These tools allow you to write your code, execute it, see the errors, perform debugging and a lot more. It also adds lots of color to your code so it’s easier to read.

    For your convenience the download URL is provided here:
  2. Once you’re installing it simply click on “Next” until you reach the window shown below. Add the checkboxes as shown in the screenshot.
  3. After that click “Next” and finish off the installation.

2. Test that everything works:

We’ll create a simple Python file and run it.

  1. Start Pycharm. You will see a Welcome screen. Choose “Create New Project”
  1. Give any project name and click “Create”. Ignore all other settings, leave them to their defaults.
  2. Right-click on the project name, select New, select Python File.
  1. Write the following code in the editor.

    print(“Hello world”)
  2. Now go to the top menu> Run> Run.. and hit enter.

You should see the output “Hello world” if everything went correctly. Now onward just edit your python code in Pycharm or create a new file and run it this way.

Hurray! You’re ready to run Python!