[python-nl] Classes

Perica Zivkovic perica.zivkovic at gmail.com
Tue Oct 14 21:37:06 CEST 2014


Hi Marc,

here is a simple description of Python class syntax and couple of examples.

https://docs.python.org/2/tutorial/classes.html#a-first-look-at-classes
http://stackoverflow.com/questions/7993089/classes-in-python-for-a-beginner

kind regards,

Perica

2014-10-14 21:03 GMT+02:00 Marc Stevens <marcs at ziggo.nl>:

> Hallo, beste python gangers,
>
> Ik heb het volgende probleem simplistisch weergegeven in de bijlage.Ik
> hoop dat het niet te basic is.Als het werkt kan ik dit bij complexere
> programma’s toepassen.
> Om delen van programma’s laten herhalen kun je in python met classes
> werken en omdat je in python (dat afgeleid is van het langgeleden Basic)
> geen adres regels heeft ,
> kun je die die met een naam aan roepen
>
> Zou U mij kort kunnen vertellen wat ik in de bijlage verkeerd doe en hoe
> ik een class correct aan roep?
>
>
> _______________________________________________
> Python-nl mailing list
> Python-nl at python.org
> https://mail.python.org/mailman/listinfo/python-nl
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-nl/attachments/20141014/350561b8/attachment.html>


More information about the Python-nl mailing list