Sie sind auf Seite 1von 32

Training Seminar Report

On

CONTENT MANAGEMENT SYSTEM

At
GLOBAL INSTITUTE OF TECHNOLOGY, JAIPUR

Submitted in partial fulfilment for the award of degree of

BACHELOR OF TECNOLOGY
In

COMPUTER SCIENCE & ENGINEERING

Submitted to Submitted by
DR. BHAVNA SHARMA OJASVI SAXENA

DEPARTMENT OF COMPUTER SCIENCE ENGINEERING


GLOBAL INSTITUTE OF TECHNOLOGY, JAIPUR
(RAJASTHAN)-302022
PYTHON

Submitted by:
Nitesh Kumar
hat We Give you ?
?
een program and scripting language

h python
today
se Python?
IDE

ution

able, Strings, Data types etc.)


t is Python…?
ral purpose programming language that is
ripting roles.

gramming language as well as scripting

lled as Interpreted language


History
etherlands, early 90s by Guido van Rossum
eived in the late 1980s and its
s started in December 1989
m is fan of ‘Monty Python’s Flying Circus’, this
w in Netherlands
nty Python
m the beginning
Benevolent Dictator For

riment in how much


ers need. Too much
y can read another's
nd expressiveness is

Guido van Rossum


e of Python
matics

ation

Development
ses python today…
plied in real revenue-generating products by real
ance:
ensive use of Python in its web search system, and
eator.
tt-Packard, Seagate, Qualcomm, and IBM use Python
g.
as an end-user customization tool for its popular GIS

o sharing service is largely written in Python


people use Python…?
ary factors cited by Python users seem to be these:
oriented
rts such concepts as polymorphism, operation
ultiple inheritance.

urce)
d installing Python is free and easy Source code is ea

nd tools

ties (e.g. Numeric, NumPy, SciPy)


mory management
talling Python
alled on most Unix systems, including Linux and MA

ws Operating Systems , user can download from the


ww.python.org/downloads/
link download latest version of python IDE and insta
4.1 but most of them uses version 2.7.7 only
e
o to
k on
ne
on
unning Python
e the Python interpreter, type in
.

world’
on Code Execution
al runtime execution model: source code you type
code, which is then run by the Python Virtual
is automatically compiled, but then it is

nsion is .py
ion is .pyc (compiled python code)
Math
o Code:

15 + 12

>>> print 3 * 12 = 36
>>> print 12 / 3 = 4
>>> print 11 / 3 = 3
>>> print 12.0 / 3.0 = 4.0
>>> print 11.0 / 3.0 = 3.66

he arrows >>> !
Strings

>>> “It’s a beautiful day!”


>>> “Goodbye, cruel world.”
>>> Aggies
out quotes:
>>> “Aggies”
>>> “Rice fight, never die!”
>>> “3 + 2”

>>> print “Hello” + “ “ + “world!”


>>> print “HAHA” * 250
Variable
:
Dumbledore”
ster

Value:
Hardcastle”
ster
Data Type:
tive data types. Here are the important ones:
True or False.
egers (1 and 2), floats (1.1 and 1.2), fractions
en complex numbers.
es of Unicode characters, e.g. an HTML document.
ys, e.g. a JPEG image file.
quences of values.
immutable sequences of values.
bags of values.
“Whoop!”
42
3.14159
“John”, “Paul”, “George”, “Ringo”]

bout types using the type() function:


e(“Whoop!”)
List:
rsatile Data type available in Python which can be
omma-separated values (items) between square
thing about a list is that items in a list need not be

hemistry', 1997, 2000]; list2 = [1, 2, 3, 4, 5 ];


f objects
hn”, “Paul”, “George”, “Ringo”]
93, 67, 99, 100]

ll output:

e an item is in the list


hn”, “Paul”, “George”, “Ringo”]

eorge”, “Ringo”]
2 3

rts at zero!
Tuples:
e of immutable Python objects. Tuples are
lists. The differences between tuples and lists are,
e changed unlike lists and tuples use parentheses,
uare brackets.

);
, "d“);
rint "tup2[1:5]: “
[2, 3, 4, 5]
& CONDITIONAL
MENTS
shown conclusively that it is both possible and
on as the principal teaching language:

th cost and source code).


all on a Windows PC allowing students to take their i
of installing a Pascal or C compiler on a Windows ma
complicated;
that allows both the teaching of traditional procedu
an be used to teach a large number of transferable s
programming language that can be and is used in aca
d;
uicker to learn and, in combination with its many lib
e rapid student development allowing the course to
aried;
antly, its clean syntax offers increased understanding
rial has shown conclusively that it is both possi
to use Python as the principal teaching languag

(as in both cost and source code).


l to install on a Windows PC allowing students t
rest further. For many the hurdle of installing a
piler on a Windows machine is either too expen
mplicated;
ible tool that allows both the teaching of tradit
al programming and modern OOP; It can be use
rge number of transferable skills;
-world programming language that can be and
cademia and the commercial world;
s to be quicker to learn and, in combination wit
aries, this offers the possibility of more rapid st
ment allowing the course to be made more
ng and varied;
importantly, its clean syntax offers increased
nding and enjoyment for students;

Das könnte Ihnen auch gefallen