Professional Documents
Culture Documents
Prepared by
Praveen M Jigajinni
DCSc & Engg, PGDCA,ADCA,MCA.MSc(IT),Mtech(IT),MPhil (Comp. Sci)
Department of Computer Science, Sainik School Amaravathinagar
Cell No: 9431453730
Courtesy CBSE
CHAPTER 1
GETTING STARTED WITH PYTHON
INTRODUCTION
When he began
implementing Python, Guido van
Rossum was also reading the published
scripts from “Monty Python's
Flying
Circus”,Van
1970s. a Rossumcomedy series
thought from a
he needed
BBC the
name that was short, unique, and
slightly mysterious, so he decided to call
the language Python.
WHY COMPANIES PREFER PYTHON?
WHY COMPANIES PREFER PYTHON?
Interactive
Interpreted
Modular
Dynamic
Object-oriented
Portable
High level
Extensible in C++ & C
WHY COMPANIES PREFER PYTHON?
Easy-to-learn
Easy-to-read
Easy-to-maintain
Robust
Effective as a Rapid Prototyping Tool
A Memory Manager
Interpreted and (Byte-) Compiled
COMPANIES USING PYTHON
COMPANIES USING PYTHON
COMPANIES USING PYTHON
COMPANIES USING PYTHON
COMPANIES USING PYTHON
PYTHON ADVANTAGES - PLUS POINTS
PYTHON ADVANTAGES - PLUS POINTS
08. Interactive.
09. Modular.
10. Dynamic.
11. Object-oriented.
12. Portable.
13. High level.
14. Extensible in C++ & C.
PYTHON ADVANTAGES - PLUS POINTS
15. Easy-to-learn .
16. Easy-to-read.
17. Easy-to-maintain.
18. Robust.
19. Effective as a Rapid Prototyping Tool
20. A Memory Manager.
21. Interpreted and (Byte-) Compiled.
22. Multi paradigm language.
PYTHON ADVANTAGES - PLUS POINTS
01. Speed.
02. Mobile Development.
03. Easy-to-maintain.
04. Memory Consumption.
05. Database Access.
06. Runtime Errors.
07. Not Strong on Type-Binding or
Dynamic Typing.
PYTHON DISADVANTAGES - MINUS POINTS
A Python distribution is a
bundle, which software a
interpreter and the Python
contains
library. Installer programs Python
for
operating systems. standard
common
PYTHON DISTRIBUTION
ENTHOUGHT'S CANOPY
SOME OF PYTHON DISTRIBUTION
WINPYTHON
SOME PYTHON DISTRIBUTION
CHINESEPYTHON Translation of
PROJECT:
Python's keywords, types and
internal
classes into Chinese. Eventually allows a
programmer to write Python programs in
Chinese.
Integrated
Developmen
t
Environment
(IDE)
What is an IDE?
IDEs
SPYDER
POPULAR PYTHON
IDEs
ECLIPSE
POPULAR PYTHON
IDEs
DJANG
O
POPULAR PYTHON
IDEs
PYSCRIPTER
POPULAR PYTHON
IDEs
BeeWar
e
POPULAR PYTHON
IDEs
CODERS’
DIARIES
POPULAR PYTHON
IDEs
ERIC
POPULAR PYTHON
IDEs
EXEDORE
POPULAR PYTHON
IDEs
WING
POPULAR PYTHON
IDEs
PYCHARM
POPULAR PYTHON
IDEs
JUPYTER
PYTHON
EDITORS
KOMODO
POPULAR PYTHON
IDEs
PYDEV
POPULAR PYTHON
IDEs
PYSIDE
POPULAR PYTHON
IDEs
PYZO
POPULAR PYTHON
IDEs
RUBYMINE
POPULAR PYTHON
IDEs
RODEO
PYTHON EDITORS
PYTHON
EDITORS
KOMODO
PYTHON
EDITORS
EMACS
PYTHON
EDITORS
GEDIT
PYTHON
EDITORS
ATO
M
PYTHON
EDITORS
BBEDIT
PYTHON
EDITORS
BLUE FISH
PYTHON
EDITORS
EDITRA
PYTHON
EDITORS
LIO
PYTHON
EDITORS
NOTEPAD++
PYTHON
EDITORS
SUBLIME
PYTHON
EDITORS
VIM
PYTHON
EDITORS
TEXTMAT
E
PYTHON
EDITORS
TEXTWRANGLER
WORKING WITH
DEFAULT
CPYTHON DISTRIBUTION
PYTHON
INTRACTIVE
MODE
PYTHON
IDLE
PYTHON SHELL
What is Shell?
A shell is usually an "interactive shell",
usually termed a REPL which stands for
"Read - Execute - Print - Loop" Most
interpreted languages offer a REPL
interface - whether its LISP, python, BASIC
or Javascript or even DOS batch language
or Unix Shells. The interpreter is what
actually executes the lines of code.
PYTHON SHELL
1) Script and
2) Interactive.
PYTHON BASIC MODES
1) Script Mode:
The normal mode is
the mode where the scripted
finished .py files are run and
the Python interpreter. in
PYTHON BASIC MODES
2) Interactive Mode:
Interactive mode is a command line
shell which gives immediate feedback
for each statement, while running
previously fed statements in active
memory.
SCRIPT
What is Script?
Scripts are reusable. Basically, a
script is a text file containing the
statements that comprise a
Python program. Once you have
created the script, you can execute it
over over without having
and
retype each time. to
it
editable. Scripts
are
INVOKING SCRIPT MODE
INVOKING SCRIPT MODE
INVOKING SCRIPT MODE
Saving Script / Program
File
Click On File
Select Save
Give filename with
py extension
For Example:
first.py
Or
first.P
Y
Running or Executing Program / Script
Click On Run
Select
Run Module
Or
F5
WORKING IN ANACONDA
ANACONDA NAVIGATOR
JUPYTER NOTEBOOK IDE
What is Spyder?
What is PyScripter?
PyScripter is a free open-source
and PythonIntegrated
Environment (IDE) created Development
with the
ambition to become competitive in
functionality with commercial Windows-
based IDEs available for other languages
PyScripter IDE
Any Questions Please
Thank You