On Tuesday, 25 September 2012 20:14:05 UTC+5:30, Jayden wrote:
In learning Python, I found there are two types of classes? Which one are
widely used in new Python code? Is the new-style much better than old-style?
Thanks!!
Next time just Google your questions.
:-)
Good luck with Python
--
In article 2e8a9e88-9e7e-43f7-a070-ea9054e62...@googlegroups.com,
Jayden jayden.s...@gmail.com wrote:
In learning Python, I found there are two types of classes? Which one are
widely used in new Python code? Is the new-style much better than old-style?
Thanks!!
If you're just learning
Le mardi 25 septembre 2012 16:44:05 UTC+2, Jayden a écrit :
In learning Python, I found there are two types of classes? Which one are
widely used in new Python code? Is the new-style much better than old-style?
Thanks!!
Use Python 3 and classes.
---
The interesting point or my
On Sep 27, 6:15 am, wxjmfa...@gmail.com wrote:
The interesting point or my question.
Why a Python beginner arrives here and should ask about this?
Would you prefer that they'd instead make some kind of false
assumption and then post endless screeds condemning it?
--
In learning Python, I found there are two types of classes? Which one are
widely used in new Python code? Is the new-style much better than old-style?
Thanks!!
--
http://mail.python.org/mailman/listinfo/python-list
On 9/25/2012 8:44 AM, Jayden wrote:
In learning Python, I found there are two types of classes? Which one are
widely used in new Python code? Is the new-style much better than old-style?
Thanks!!
Perhaps this is useful:
http://docs.python.org/reference/datamodel.html
It's 3.3 I think.
--
On Wed, Sep 26, 2012 at 12:44 AM, Jayden jayden.s...@gmail.com wrote:
In learning Python, I found there are two types of classes? Which one are
widely used in new Python code? Is the new-style much better than old-style?
Thanks!!
Definitely go with new-style. In Python 3, old-style classes
On Tue, 25 Sep 2012 07:44:04 -0700, Jayden wrote:
In learning Python, I found there are two types of classes? Which one
are widely used in new Python code?
New-style classes.
Is the new-style much better than old-style?
Yes.
Always use new-style classes, unless you have some specific
On 25/09/2012 17:20, Steven D'Aprano wrote:
On Tue, 25 Sep 2012 07:44:04 -0700, Jayden wrote:
In learning Python, I found there are two types of classes? Which one
are widely used in new Python code?
New-style classes.
Is the new-style much better than old-style?
Yes.
Always use