Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 2.23 KB

P1- Getting started.md

File metadata and controls

47 lines (31 loc) · 2.23 KB

Python is an easy-to-use interpreter based language. It's a platform independent language which runs on multiple platforms like Windows, Linux, Mac etc. Though, python comes preinstalled on Linux and MacOS, it's preferred to check and install the latest version.

Contents

Installing Thonny IDE

Installing Pycharm IDE

Installing Python IDE Seperately

Hello World Program

Installing Thonny IDE

Thonny IDE is easy to install as it doesn't require Python to be installed seperately.

  1. Download Thonny IDE from here.
  2. Run the installer to install the software.
  3. Click on File > New and write your python code.
  4. Save the file with the extension .py.

Installing Pycharm IDE

  1. Download Python IDE seperately (read Installing Python IDE Seperately)
  2. Download Pycharm IDE from here.
  3. After installation process, select Create new project and select New > Python File.
  4. Save the file with the extension .py.

Installing Python IDE Seperately

You may also use Python IDLE directly instead of using above softwares.

  1. Download Python IDE from here.
  2. Run the installer to install the software. During installation process, check Add Python to environment variables to run Python from anywhere.
  3. Once installation is complete, you can run Python.
  4. Select New > Python File and save the file with the extension .py.

Hello World Program

After setting up Python, we're ready to make our first program called 'Hello World'. Just type the following code,

    print("Hello world!") 

Congrats! You've successfully made your first Python program.