Published on 05/05/2015
http://kerneltraining.com/phython/
Email us: sales@kerneltraining.com
Phone: 91 8099 77 6681
This slide share has been introduced by kernel training and it provides a brief introduction of Python course review, an introduction to python, installation, data types, examples, and practical applications, and question answer. To describe the python you will find this open source language, object oriented, HLL, Interpreted etc., implemented in C, and can be used in the cross platform. You can also work on personal computers, phones, and Web, and it can do statement grouping by indentation and some of the prominent ones are python 3.4.3, and python 2.7.9 effectively.
Python comes with extensive libraries that are packaged together, garbage collection, and perfect integration with C, C++ and Java and can be implemented through Cpython, IronPython, and Jython. Since it is open software, it can install on a Unix based system, and source code from a. unzip: /configure, and make: make install and in addition to it, python is pre-installed and you can get it in /usr/bin/python. User can execute a wide range of data types, such as integers, Boolean, strings, etc.
Along with this Python slide share our viewer can also realize about Python advanced programming by switching over YouTube, and the Python tutorial for beginners can provide a complete knowledge about python and its applications in real-time to complete. Several interesting topics such as python application development will be made available on the python advanced tutorial. Moreover, the faculty will also cover up a python tutorial for beginners with examples and you can pick up concepts with cases for your convenience. Users can put easy coding provided you understand the simple comments such as print. At the end, you can what hello world, addition of numbers, few more examples. Learn some
Course Curriculum at Kerneltraining:
Introduction + installation, Building Elements (Data types), Control statements + iterators, Logical statements + Application (1-4), Functions, Collections( List + tuples), Collections continued ( Maps, sets, enum), Applications (5-7), OOPS Concepts, Sharing code (modules), File Operations, Exception Handling, Automatic Testing - Introduction to Robot Framework.
Lab Infrastructure:
Our Lab is fully equipped with latest infrastructure with Power 6 and IBM X-series dual Xeon Based servers, EMC clarion, Netapp Unified Storage, Brocade FC switches, Cisco FC switches, Cisco L4 switch, and all the servers are integrated with SAN. All the servers are monitored by Nagios monitoring agent with the OTRS ticketing system. All the students will have an individual access to the servers through thin clients remotely. Students will be exposed to the real time scenarios through which they can get good exposure on the subject. To help the student in their practice sessions, there will be lab faculties available all the time.
4. 2. Introduction to Python
Open Source Language
Object Oriented, HLL,Interpreted etc
Implemented in C
Cross platform (Windows,Unix,Macintosh)
Works on PC, Phones and Web
Statement grouping by indentation
Latest version 3.4.3 and 2.7.9
5. 2. Introduction to Python (cont)
Extensive libraries are packaged together
Memory Management – Garbage collection
Integrates with C,C++ and Java.
Implementation (Cpython, IronPython and
Jython)
6. 3. Installation
Installation method are different depending on
Operating system.
3.1 Unix Based System
a) Download source code from
https://www.python.org/downloads/source/
b) Unzip; ./configure
c) make ; make install
Python is mostly pre-installed on most unix based
systems. Generally binary are be found at
/usr/bin/python and
7. 3. Installation (cont)
3.2 Window Based system
a) Download the installer from
https://www.python.org/downloads/windows/
b) Execute the binary file ,you need to
administrator to execute the binary.
c) Now selection the installation path ; then do
next and select components .
d) Set Environment variable.
My Computer Properties Advanced‣ ‣ ‣
Environment Variables . (Change it according to
8. 3. Installation (cont)
3.3 Mac
Python is part of Mac OS environment. Tiger (Mac
OS 10.4) includes Python 2.3.5 and IDLE
(Integrated Development Environment).
Leopard (Mac OS 10.5) includes Python 2.5.1 ..
Python files can be found at
/System/Library/Frameworks/Python.framework/
Versions
Open terminal and type python.
9. 4. Data Types
1. Integers : 32 Bit long ; range -2^32 to -2^32
2. Long Int :
3. Float Point (Double precision no) 64 bit
4. Boolean
5. Complex Number
6. Strings : Sequence of Unicode characters
7. Lists : Ordered Sequence of Values
8. Tuples : Ordered, immutable sequence of
values
10. Before we start coding..
1. Comments : Single line or multi lines
Single line – Begin with “#”
Multi line – Begin with triple quoted strings
'''
this is comments
'''
2. Printing : We use print function.
Print(“Hello World”) ## string
Print (20) ## integer
Print(g) ## literal value