[Tutor] Good approach regarding classes attributes

Juan Christian juan0christian at gmail.com
Sun Sep 7 05:01:40 CEST 2014


Ops, sorry.

Pastebin @ line 9: It's [JSON response lastlogoff]


On Sun, Sep 7, 2014 at 12:00 AM, Juan Christian <juan0christian at gmail.com>
wrote:

> I'm writing a program that have a 'User' class. This class will have the
> following attributes:
>
> 1. id
> 2. personaname
> 3. lastlogoff
> 4. profileurl
> 5. avatar
> 6. realname
> 7. timecreated
> 8. loccountrycode
>
> I'm thinking about writing something like that:
> http://pastebin.com/7KHB2qQ8
>
> Is it a good approach, is this phytonic?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20140907/a0addce8/attachment-0001.html>


More information about the Tutor mailing list