I am reading python since last 15 days ,read some basics of python , Last
night was reading about the OOPS concepts ,but getting some problems , going
to discuss with you people.
MY CODE :
I made a class with the name student that prints simply name of the student
as well as his roll_no also,
I am new in python , so need a good books , previously read python Bible and
swaroop but not satisfied .
so tell me good books in pdf format those contents good problems also
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinf
I was reading about the python dictionaries had finished some methods
related to the dictionary.
we used get and setdefault methods to get the value from the dictionary if
it lies inside it
and setdefault used to set the value is side the dictionary if it does not
lies inside the dictionary.
so
are there any Links by which I can get good knowledge in OOPS .
I want to go with good problems in OOPS so tell ,me any good book or link of
oops concepts
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
when we work on the oops in the python then we have to pass the first
parameter as a self then the value of the other parameters .
for example:
class Student:
def __init__(self,name):
self.name=name
print 'The name is',self.name
a=student('sudhanshu')
a is an object of the student class
so __init
I made a program named as a title.py inside it used Inheritance , now I
want to Extend the Parent Class in another program(file also) but having an
Error lets check ,my code
1.first file title .py
class global Studentdatabase:
def __init__(self,name,age,standard,place,dateofbirth,sex):
Last night was using a pyglet for creating some good graphical applications
,it was my first introduction with the pyglet,so just went on pyglet.org and
downloaded a pdf file .
Now simply made two programs that is mentioned in the pdf of the pyglet
program 1.It is simple program that prints 'HE