![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
waxxStudy
这个作者很懒,什么都没留下…
展开
-
conda activate 激活新环境 conda cheatsheet
conda command原创 2021-10-28 20:33:59 · 425 阅读 · 0 评论 -
AttributeError: module ‘librosa‘ has no attribute ‘display‘
AttributeError: module 'librosa' has no attribute 'display'虽然有import librosa但是还是报错了,因为librosa.display需要显示声明。加上import librosa.display即可。原创 2021-09-14 14:34:38 · 6232 阅读 · 1 评论 -
python array 切片
Python Array切片先创建一个Arrayarr = []for i in range(26): arr.append(chr(ord('a') + i))print(arr)输出[‘a’, ‘b’, ‘c’, ‘d’, ‘e’, ‘f’, ‘g’, ‘h’, ‘i’, ‘j’, ‘k’, ‘l’, ‘m’, ‘n’, ‘o’, ‘p’, ‘q’, ‘r’, ‘s’, ‘t’, ‘u’, ‘v’, ‘w’, ‘x’, ‘y’, ‘z’]数组创建好了上述数组每个元素的索引原创 2021-08-25 20:42:44 · 2132 阅读 · 0 评论