/ Python And R Data science skills: 03 modules in oop in telugu

Saturday, 17 February 2018

03 modules in oop in telugu

https://youtu.be/ahsdZ9cWh9c 03 modules in oop python
In [4]:
import ram as r
In [3]:
dir(r)
Out[3]:
['__builtins__',
 '__cached__',
 '__doc__',
 '__file__',
 '__loader__',
 '__name__',
 '__package__',
 '__spec__',
 'a',
 'pri']
In [5]:
r.a
Out[5]:
10
In [8]:
r.pri()
welcome
In [12]:
from ram import a,pri
In [13]:
a
Out[13]:
10
In [15]:
pri()
welcome

No comments:

Post a Comment