python
只会写bug的菜鸡
这个作者很懒,什么都没留下…
展开
-
遍历操作__getitem__
遍历操作-getitemclass Person: passp = Person()for i in p: print(i)以上代码报错如下:Traceback (most recent call last): File“G:/Study/Git/FSR/FSRNet/zhongjiema-FSRNet-pytorch-master/FSRNet-pytorch/mzjtest/pytorch学习/getitem.py”,line 4, in for i in p:原创 2021-05-13 20:45:54 · 595 阅读 · 1 评论 -
python引入同一文件夹下的代码爆红(不影响程序运行)
https://www.cnblogs.com/my-blogs-for-everone/articles/12270938.html亲测可用转载 2020-10-16 15:58:55 · 491 阅读 · 0 评论