Objectives

What is Programming language ?

A programming language is a vocabulary and set of grammatical rules for instructing a computer or computing device to perform specific task

Programing Languages:

  • C programming
  • C++
  • JAVA
  • Python
  • Php

What is Python?

  • Python is a popular programming language. Latest version of python 3.7

  • It has simple easy-to-use syntax, making it the perfect language for someone trying to learn computer programming for the first time.

  • Python will support multiple platforms. like as Windows,Linux,Mac

  • Python is like as java , but compare then java it is very easy to understand

  • Python is object oriented programming language

  • Python code ==> run ==> object code ==> output

  • we can use that object code on any platforms.

How to Run Python ?

  • We can run python programs in different ways.

  • IDE’s

  • Editors-Shells

  • Eclipse

Python GUI – tkinter

    Python offers multiple options for developing GUI (Graphical User Interface). Out of all the GUI methods, tkinter is most commonly used method. It is a standard Python interface to the Tk GUI toolkit shipped with Python. Python with tkinter outputs the fastest and easiest way to create the GUI applications. Creating a GUI using tkinter is an easy task.

  • How to create a tkinter:
  • Importing the tkinter module

  • Create the main window (container)

  • Add any number of widgets to the main window

  • Apply the event Trigger on the widgets.

Advantage of python:

  • Object Oriented Programing Language:

    It support Inheritance and Polymorphism.

  • Presence of Third Party Modules:

    The Python Package Index (PyPI) contains numerous third-party modules that make Python capable of interacting with most of the other languages and platforms.

  • Learning Ease and Support Available:

    Python offers excellent readability and uncluttered simple-to-learn syntax which helps beginners to utilize this programming language

  • Run-time Errors:

    The Python language is dynamically typed so it has many design restrictions that are reported by some Python developers.

By the end of this Python training you will be able to:

    Know basic syntax of python and python introduction

  • Know python strings and operators

  • Know python functions and loops

  • Know file handling method