llnhhycom's recent timeline updates
llnhhycom

llnhhycom

V2EX member #212720, joined on 2017-02-02 09:49:01 +08:00
llnhhycom's recent replies
Feb 3, 2017
Replied to a topic by llnhhycom Python 面向对象中类应该如何设计?
@814084764 你可以看下我的 Account 类,所有和账号有关的都在 Account 类中:
user = Account(uid=1)

user.nickname // 用户昵称
user.email // 用户邮箱
...
...
user.links() // 用户发布的所有链接
user.link()[0].title // 用户发布的链接的标题
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2886 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 16ms · UTC 09:14 · PVG 17:14 · LAX 02:14 · JFK 05:14
♥ Do have faith in what you're doing.