Thank you folks, for your excellent answers. This is really a fantastic
place to learn python :-)
__
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
Alan Gauld escribió:
> Hi folks,
>
> In just thought I'd mention that my web tutor has now passed
> the million visitors mark. Thanks to all those on the tutor
> list who have paid a visit.
>
> Alan Gauld
> Author of the Learn to Program web site
> http://www.freenetpages.co.uk/hp/alan.gauld
> __
# function, does NOT check first argument.
>
> So basically, the whole self argument handling is magic that happpens
> during attribute lookup.
>
> Andreas
>
> Am Freitag, den 03.11.2006, 14:27 +0100 schrieb euoar:
>
>> I think I don't understand the OOP in pyth
I think I don't understand the OOP in python, could anyone explain why
this code works?
class example:
atribute = "hello world"
print example.atribute
Why you don't have to make an object of the class to access to the
atribute?
( class example:
atribute = "hello world"
obj
Kent Johnson escribió:
> euoar wrote:
>> Could somebody explain or point to a good place to learn what are
>> python decorators, and when should they be used?
>
> http://www.python.org/doc/2.4.4/whatsnew/node6.html
> http://wiki.python.org/moin/PythonDecoratorLibrary
>
Could somebody explain or point to a good place to learn what are python
decorators, and when should they be used?
Thanks.
__
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.vo
euoar escribió:
> mc collilieux escribió:
>> euoar wrote:
>>
>>>> I'm learning the use of liststores and treeviews. I have wrotten
>>>> this litle class as exercice:
>>
>>
>>>> # name is the name of the new column to add, value
I'm learning to use python with the database mysql. I'm writing a
widget in pygtk that should show the results of a sql query. For example
with "SELECT * FROM a", I use this code
count = 0
a = db.cursor.description
for tuple in a:
print tuple[0][0]
count = count + 1
Asrarahmed Kadri escribió:
>
>
> Folks...
>
> Please dont take it in a wrong sense. But I have a point to make
> regarding OOP and the way it is implemented in Python.
>
> Why is it necessary to explicity use self argument in the class
> functions ?? I feel the language/interpreter shoul
I'm trying to learn how to send e-mails with python. But I always become
this error: socket.error: (110, 'Connection timed out'). Is there
something bad in the code? Does anyone knows what could be wrong? I'm
using python from linux, and have no proxy...
The code that I use is this (of course,
10 matches
Mail list logo