Open source general-purpose. Multiplatform programming language
Object Oriented, Procedural, Functional
Easy to interface with C/ObjC/Java/Fortran
Easy to interface with C++ (via SWIG)
Great interactive environment
Python 'philosophy' emphasis readability, clarity and simplicity
The Interactive Interpreter
it is very easy to learn and understand.
It is extensible, you can easily plug new modules in your Python installation and extend its functionality
1. Introduction to Python Basics
Programming
www.collaborationtech.co.in
Bengaluru INDIA
Presentation By
Ramananda M.S Rao
2. Introduction to Python Programming
Content
Introduction
Applications and Frameworks
Get Started with programming
Variables and Data Types
Operators and Expressions
Control Structure
Sequence Types
Dictionaries and Sets
List Comprehensions
Functions
Local, Non Local & Global Variables
Anonymous and Lambda Functions
www.collaborationtech.co.in
3. Introduction to Python Programming
Introduction
Open source general-purpose. Multiplatform programming
language
Object Oriented, Procedural, Functional
Easy to interface with C/ObjC/Java/Fortran
Easy to interface with C++ (via SWIG)
Great interactive environment
Python 'philosophy' emphasis readability, clarity and simplicity
The Interactive Interpreter
it is very easy to learn and understand.
It is extensible, you can easily plug new modules in your Python
installation and extend its functionality
www.collaborationtech.co.in
4. Introduction to Python Programming
Applications and Frameworks
Python is a very flexible language. It is widely used for many different
purposes. Typical uses include :
Web Programming
System administration tasks via simple scripts
Desktop Applications
Windows Applications
Natural Language ToolKit
Source can be compiled or run just-in-time
Large collection of proven modules included in the
standard distribution
Offers Matlab-ish capabilities within Python
• Fast array operations
• 2D arrays, multi-D arrays, linear algebra etc.
Wrappers for Astronomical Packages
www.collaborationtech.co.in
5. Introduction to Python Programming
Applications and Frameworks
Web application programming with frameworks like Zope, Django
and Turbo gears
System administration tasks via simple scripts
Desktop applications using GUI toolkits like Tkinter or wxPython
(and recently Windows Forms and IronPython)
Creating windows applications, using the Pywin32 extension for
full windows integration and possibly Py2exe to create standalone
programs
Scientific research using packages like Scipy and Matplotlib
Can interface with the Component Object Model (COM) used by
Windows
Can interface with Open Source GIS toolsets
www.collaborationtech.co.in
6. Introduction to Python Programming
Installing Python
Download Python 3.5(32-bit and 64-bit versions of the interpreter )
which includes:
Python Software
The standard library, test suite, launcher and pip will be installed
Development Environment
IDLE – a cross-platform Python development environment. Text editor
with color-coding and smart indenting for creating python files Menu
commands for changing system settings and running files. Shell for
interactive evaluation.
Do not use Notepad - it is a bad choice because it does not do syntax
highlighting and also importantly it does not support indentation of
the text
www.collaborationtech.co.in