Python Tutorials 34 Lessons


Python Tutorial

Python is famous as a programming language and its usage is increasing. This Introductory chapter helps beginner programmer to get started learning about Python programming.

    Python Overview

    The main focus of this lesson is to describe the introduction of Python programming.

    • What is Python?
    • Some Facts about Python
    • Python Why? Characteristics and Features of Python
    • What you can Do with Python

    Python Installation

    Python Installation Steps Described In Details.

    • Python Environment Setup On Linux, Windows and MAC OS
    • Python GUI

    Basics of Python Programming

    Python programming basics explained In details, with different modes of the interpreter.

    • Interactive Mode
    • Script Mode

    Comments in Python

    Comments are non-executable statements in Python. It means neither the python compiler nor the PVM will execute them. Comments are intended for human understanding, not for the compiler or PVM. Therefore they are called non-executable statements.

    • Single-Line and Multi-Line Comment
    • Docstrings


    Concept of Indentation in Python

    Indentation in Python refers to the (spaces and tabs) that are used at the beginning of a statement. The statements with the same indentation belong to the same group called a suite.

      Python Keywords

      Keywords are reserved words in Python and used to perform an internal operation. Python Keywords must be in your information because you can not use them as a variable name or any other identifier name.

        Python Operators

        This lesson describes:

        • Python Operators and Operands
        • Types of Python Operators

        Python Numbers

        Python programming Numbers are described in details.

        • Types of Numerical Data Types
        • Type Conversion (Casting)

        Python Strings

        A string is usually a bit of text in Python programming that is written to be displayed to users.


          Concept of Variable in Python

          The variable concept is different in Python compared to other programming languages, and it is explained in this tutorial. In Python, a variable is seen as a tag that is tied to some value.

            Python Variables

            Variables are identifiers of a physical memory location, which is used to hold values temporarily during program execution.

            • Defining Values in Python
            • Assigning Values To Variables
            • Commons rules for naming variables in Python

            Python Lists

            Python provides these data structures named 'lists' and 'tuples' that are used to organize data in a single set.

              Python Tuples

              Tuples are immutable lists and cannot be changed in any way once it is created.