Python Programming Tutorial by Easylearning Guru
Python Programming Tutorial by Easylearning Guru
Agenda
What is Python?
Gems of Python
Python's users
Scope of Python
Major uses of Python
Why Python
Getting started with Python
What is Python?
Python is a powerful multi paradigm computer programming language,
optimized for programmer productivity, code readability, and software
quality.
Scripting language
Compiled language
Features of Python
Portable
Python compiles and runs on every major platform currently in use.
Python can be used on 21 different operating systems and environments.
Powerful
Python's toolset places it between traditional scripting
development languages ( C ,C++ and Java)
Mixable
Python programs
can be easily glued
to components
written in other
languages.
Ease of Syntax
class Hello {
Why Python?
C
C++
Java
Python
Object oriented
No
Yes
Yes
Yes
Functional
No
Yes
No
Yes
Type safety
Unsafe
Unsafe
Safe
Safe
Type expression
Explicit
Explicit
Explicit
Implicit
Type checking
Static
Static
Static
Dynamic
Failsafe I/O
No
No
Yes
Yes
Readability
Difficult
Difficult
Difficult
Easy
Learning
Difficult
Difficult
Difficult
Easy
Language
Programming
Programming
Programming
Programming and
scripting
Length of code
Scope of Python
Python is most demanded
language currently as shown
by surveys.
GUIs
Camelot provides components for building applications on top of Python, SQLAlchemy and Qt.
inspired by the Django admin interface
GTK+, or the GIMP Toolkit, is a multi-platform toolkit for creating graphical user interfaces.
Offering a complete set of widgets, GTK+ is suitable for projects ranging from small one-off
toolsto complete application suites.
Kivy is a Python library for development of multi-touch enabled media rich applications.
The aim is to allow for quick and easy interaction design and rapid prototyping, while making
your code reusable and deployable.
Tkinter has the advantage of being included with the Python standard library, making it the
most convenient and compatible toolkit to program with.
PyQt is a set of Python v2 and v3 bindings for Digia's Qt application framework and runs
on all platforms supported by Qt including Windows, MacOS/X and Linux.
pyjs is a Rich Internet Application (RIA) Development Platform for both Web and Desktop.
With pyjs you can write your JavaScript-powered web applications entirely in Python.
wxPython is a GUI toolkit for the Python programming language. It allows Python
programmers to create programs with a robust, highly functional graphical user
interface, simply and easily
>>>a[4,:4:]
array([[44,45]
[54,55]])
IPython is a command shell for interactive computing developed for the Python
programming language that offers enhanced introspection ,rich media, additional shell
syntax, tab completion and rich history.
Pandas: pandas is an open source, BSD-licensed library providing higherformance, easy-to-use data structures and data analysis tools for the
Python programming language.
Rapid Prototyping
Python is an ideal choice for prototyping because:
It is Dynamically typed language: Python doesn't require you to
declare the data type of a variable. This lets you write a function that is
generic enough to handle any kind of data.
Component Integration
It spans multiple platforms, middleware products, and
application domains.
Python can fulfill an important integration role in the design of
large applications with a long life expectancy.
It allows a fast response to changes in user requirements that
require adapting the higher-level application logic without
changing the fundamental underlying components.
It also allows quick adaptation of the application to changes in
the underlying components.
If else structure
a = 10
b = 20
If a>b:
print a is greater
else:
print b is greater
for loop
for x in range(10):
print(x)
What we offer
Skype Id : easylearning.guru
Website : www.easylearning.guru
Your queries are always welcome.