会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
idvcn
首页
新随笔
联系
管理
2018年3月14日
python获得类名和函数名的方法
摘要: #!/usr/bin/python3 import sys class Point: def __init__( self, x=0, y=0): self.x = x self.y = y def __del__(self): class_name = self.__class__.__name__ fun_name = sys._...
阅读全文
posted @ 2018-03-14 12:00 idvcn
阅读(271)
评论(0)
推荐(0)
编辑
公告