O slideshow foi denunciado.
Seu SlideShare está sendo baixado. ×

Introduction to python for dummies

Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Carregando em…3
×

Confira estes a seguir

1 de 8 Anúncio

Introduction to python for dummies

Baixar para ler offline

Python was developed by Guido van Rossum in the late eighties and early nineties at the National Research Institute for Mathematics and Computer Science in the Netherlands.

Python is derived from many other languages, including ABC, Modula-3, C, C++, Algol-68, SmallTalk, and Unix shell and other scripting languages.

Python is copyrighted. Like Perl, Python source code is now available under the GNU General Public License (GPL).

Python is now maintained by a core development team at the institute, although Guido van Rossum still holds a vital role in directing its progress.

Learn Python from Industry Experts.
Join Itedge Institute
Contact :-9821295364
Website:- http://www.itedge.in/python-certification.aspx

Python was developed by Guido van Rossum in the late eighties and early nineties at the National Research Institute for Mathematics and Computer Science in the Netherlands.

Python is derived from many other languages, including ABC, Modula-3, C, C++, Algol-68, SmallTalk, and Unix shell and other scripting languages.

Python is copyrighted. Like Perl, Python source code is now available under the GNU General Public License (GPL).

Python is now maintained by a core development team at the institute, although Guido van Rossum still holds a vital role in directing its progress.

Learn Python from Industry Experts.
Join Itedge Institute
Contact :-9821295364
Website:- http://www.itedge.in/python-certification.aspx

Anúncio
Anúncio

Mais Conteúdo rRelacionado

Diapositivos para si (20)

Semelhante a Introduction to python for dummies (20)

Anúncio

Mais recentes (20)

Introduction to python for dummies

  1. 1. Introduction to Python By Lalit Jain www.itedge.in
  2. 2. Agenda • What is Python? • Where it is generally used? • What can Python do? • Why Python? • Python and its Versions • Python Features • Setting up the development Environment • First Python Program www.itedge.in
  3. 3. What is Python? • Python is a general purpose, dynamic, high level and interpreted programming language. • It supports Object Oriented programming approach to develop applications. • Python is developed by Guido van Rossum and started implementing Python in 1989.. • Python's syntax and dynamic typing with its interpreted nature, makes it an ideal language for scripting and rapid application development. • Python is not intended to work on special area such as web programming. That is why it is known as multipurpose because it can be used with web, enterprise, 3D CAD etc. www.itedge.in
  4. 4. Where it is generally used? • Web development (server-side), • Software development, • Mathematical and scientific analysis of data, • Desktop graphical application development, including games. www.itedge.in
  5. 5. What can Python do? • Python can be used on a server to create web applications. • Python can be used alongside software to create workflows. • Python can connect to database systems. It can also read and modify files. • Python can be used to handle big data and perform complex mathematics. • Python can be used for rapid prototyping, or for production-ready software development. www.itedge.in
  6. 6. Why Python? • Python works on different platforms (Windows, Mac, Linux, Raspberry Pi, etc.). • Python has a simple syntax similar to the English language. • Python has syntax that allows developers to write programs with fewer lines than some other programming languages. • Python runs on an interpreter system, meaning that code can be executed as soon as it is written. This means that prototyping can be very quick. • Python can be treated in a procedural way, an object- orientated way or a functional way. www.itedge.in
  7. 7. Python and its Versions • Python laid its foundation in the late 1980s. • The implementation of Python was started in the December 1989 by Guido Van Rossum at CWI in Netherland. • In February 1991, van Rossum published the code (labeled version 0.9.0) to alt.sources. • In 1994, Python 1.0 was released with new features like: lambda, map, filter, and reduce. • Python 2.0 added new features like: list comprehensions, garbage collection system. • On December 3, 2008, Python 3.0 (also called "Py3K") was released. It was designed to rectify fundamental flaw of the language. www.itedge.in
  8. 8. Python Features • Easy to Learn and Use. • Expressive Language • Interpreted Language • Cross-platform Language • Free and Open Source • Object-Oriented Language • Extensible • Large Standard Library • GUI Programming Support • Integrated www.itedge.in

Notas do Editor

  • In most of the programming languages, whenever a new version releases, it supports the features and syntax of the existing version of the language, therefore, it is easier for the projects built in the language to switch in the newer version. However, in the case of python, the two versions python 2 and python are very much different from each other.

    The two differences which can be pointed out here is
    Python 2 uses print as a statement and used as print "something" to print some string on the console. On the other hand, Python 3 uses print as a function and used as print("something") to print something on the console.
    Python 2 uses the function raw_input() to accept the user's input. It returns the string representing the value which has typed by the user. To convert it into the integer, we need to use the int() function in python. On the other hand, Python 3 uses input() function which automatically interpreted the type of input entered by the user. However, we can cast this value to any type by using primitive functions (int(), str(), etc.).
    In python 2, the implicit string type is ASCII whereas, in python 3, the implicit string type is Unicode.
    Python 3 doesn't contain the xrange() function of python 2. The xrange() is the variant of range() function which returns a xrange object that works similar to Java iterator. The range() returns a list for example the function range(0,3) contains 0, 1, 2.
    There is also a small change made in Exception handling in python 3. It defines a keyword as which is necessary to be used. 
  • Python Features
    Python provides lots of features that are listed below.
    1) Easy to Learn and Use
    Python is easy to learn and use. It is developer-friendly and high level programming language.
    2) Expressive Language
    Python language is more expressive means that it is more understandable and readable.
    3) Interpreted Language
    Python is an interpreted language i.e. interpreter executes the code line by line at a time. This makes debugging easy and thus suitable for beginners.
    4) Cross-platform Language
    Python can run equally on different platforms such as Windows, Linux, Unix and Macintosh etc. So, we can say that Python is a portable language.
    5) Free and Open Source
    Python language is freely available at offical web address. The source-code is also available. Therefore it is open source.
    6) Object-Oriented Language
    Python supports object oriented language and concepts of classes and objects come into existence.
    7) Extensible
    It implies that other languages such as C/C++ can be used to compile the code and thus it can be used further in our python code.
    8) Large Standard Library
    Python has a large and broad library and prvides rich set of module and functions for rapid application development.
    9) GUI Programming Support
    Graphical user interfaces can be developed using Python.
    10) Integrated
    It can be easily integrated with languages like C, C++, JAVA etc.

×