当前位置:网站首页>类的属性新建(初级理解)
类的属性新建(初级理解)
2022-07-22 10:35:00 【Eden_mm】
class lixinyu():
nvpengyou = None
lixinyu.nanpengyou = 'zhangyaxin'
print(lixinyu.nanpengyou)
if not hasattr(lixinyu, 'pengyou'):
raise ValueError(
'没有朋友还不赶紧去找'
)
边栏推荐
- JNI 数据类型用法
- What is Baidu snapshot hijacking? Baidu snapshot hijacking principle and solution
- 【文献阅读与想法笔记14】Beyond a Gaussian Denoiser: Residual Learning of Deep CNN for Image Denoising
- 信号降噪方法
- LeetCode206——反转链表
- Her power series seven LAN Yanyan: ideal warm 10-year scientific research road, women can be gentle, more confident and professional | women's Day Special
- 她力量系列四丨读博6年两次换导师,靠一点点“倔”,俞舟成为social chatbot的开拓者之一
- Dense passage retrieval for open domain question answering notes
- RAG小结
- c语言bitField
猜你喜欢
Dense Passage Retrieval for Open-Domain Question Answering笔记
IDEA背景图片集
She studied in the fourth series of strength, changed her tutor twice in six years, and with a little "stubbornness", Yu Zhou became one of the pioneers of social Chatbot
她力量系列二丨UCLA李婧翌:女性最不需要做的就是「怀疑自己」
Kubernetes基础
vimplus修改终端字体为Droid Sans Mono Nerd Font
《预训练周刊》第39期: 深度模型、提示学习
Her power series five Zhu Haiyi: people oriented, building AI values
Introduction to elastic search: search full text search (7)
Pre training weekly 39: deep model, prompt learning
随机推荐
Reinforcement learning weekly 39: approximate optimal depth, multi-agent generalization, character animation reinforcement learning
Image quality assessment
1049 Counting Ones (30 分)
LeetCode160 & LeetCode141——double pointers to solve the linked list
LeetCode21——Merge two sorted lists——Iteration or recursion
LeetCode0022——括号生成——DFS
docker安装3主3从redis集群
VSCODE 比较两个文件
Chinese search for introduction to elastic search (8)
进程fork
RAG小结
1072 Gas Station (30 分)
1034 Head of a Gang (30 分)
LeetCode53——Maximum Subarray——3 different methods
《预训练周刊》第39期: 深度模型、提示学习
LeetCode160 & LeetCode141——double pointers to solve the linked list
Vim学习之旅
Leetcode0002——Add Two Numbers——Linked List
1053 Path of Equal Weight (30 分)
flask 跨域