You are on page 1of 7

Full stack web development using python

Keywords and import

Saurabh Shukla (MySirG)


- Agendas
① what is module in Python ?
② Keywords
③ help C) on Python shell
module.packageandlibi.am
◦ date : It is a
Python file It can contain .

instance objects function objects


,

and class objects .

In simple words it contains variables


,
,

functions and classes .

Package :
package is a collection of modules
and sub -

packages
Library : is collection of
Library a

packages .
import
import A2 A2 .PT

moduleName Module Element



Atop 's

pri
be
module Element can

→ variable (Instance
object
) module

→ function module

fromazimport.sc/printCx
→ class
)
Al .
PY A 2. P 7

""→"

from A2 import seas ✗
x -10
-

( X) → 5
print
keywcrds-AI.PT keyword .py


predefined
Reserved words
words

%r M[i
class from
False
None continue global pass
raise
def if
True return
import
and del try
in
as elif while
is
assert else
with
except lambda
async
nonlocal
yield
await finally
for not
break
helio
>> > help c)

You might also like