Professional Documents
Culture Documents
#3. Keywords and Import
#3. Keywords and Import
Package :
package is a collection of modules
and sub -
packages
Library : is collection of
Library a
packages .
import
import A2 A2 .PT
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)