笔记
L_识途
男
展开
-
值传递与地址传递
C++关于值传递和地址传递原创 2023-01-25 23:00:26 · 1487 阅读 · 0 评论 -
解决多维数组合并报错:VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences
原报错提示为:VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when crea原创 2022-04-10 21:06:17 · 2459 阅读 · 0 评论 -
python调用其他途径的.py文件
python调用其他途径的.py文件:内容:1、 调用的.py与目标程序在同一个文件夹内2、在不同文件夹中调用的.py与目标程序在同一个文件夹内:直接import 加调用的.py文件名比如import SVM_Functions或者import SVM_Functions as s注意这种方法使用原.py的函数必须带上相应的前缀在不同文件夹中:先把.py文件途径添加到sys.path途径中,import在导入模块时,是按照sys.path中存储的位置查找的imp原创 2021-05-07 09:42:37 · 2650 阅读 · 1 评论 -
python的tracer()函数
tracer(False)隐藏绘图,直接显示绘画结果tracer(True)其重新打开原创 2020-10-17 15:43:14 · 9513 阅读 · 1 评论