Facebook PixelInstallation & Getting Started | Python Tutorial | CodeWithHarry

Installation & Getting Started

Steps to Install Python:

a. Visit the official python website: https://www.python.org/

b. Download the executable file based on your Operating System and version specifications.

c. Run the executable file and complete the installation process.

Version:

After installation, check the version of Python by typing the following command: python --version.

Starting Python:

Open Python IDE or any other text editor of your preferred choice. Let’s understand Python code execution with the simplest print statement. Type the following in the IDE:

print("Hello World !!!")

Now save the file with a .py extension and run it. You will get the following output:

Hello World !!!

Installing Packages:

To install packages in Python, we use the pip command.
e.g. pip install "Package Name"

The following command installs the pandas package in Python:

pip install pandas

We will learn more about the pip command in the chapter dedicated to pip.