class implementation

Joel Goldstick joel.goldstick at gmail.com
Mon Sep 30 09:21:50 EDT 2013


On Mon, Sep 30, 2013 at 9:02 AM, Peter Otten <__peter__ at web.de> wrote:

> markotaht at gmail.com wrote:
>
> > under variables, i mean, the int's and lists and strings and floats that
> > the parent class uses. IF in parent class there is variable called
> > location, then can i use the same variable in my sub class.
>
> Please show us some code. Thankyou.
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>

You should start by learning about classes -- perhaps here:
http://docs.python.org/2/tutorial/classes.html#classes

Then, try writing some code using classes or extending a class.  Then come
back when something doesn't work as expected

-- 
Joel Goldstick
http://joelgoldstick.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130930/79dcbcf3/attachment.html>


More information about the Python-list mailing list