Meng-cao / tech-memo

take notes about tech points learned from work
0 stars 0 forks source link

python #7

Open Meng-cao opened 2 years ago

Meng-cao commented 2 years ago

一些容易忘的小细节整理。

Meng-cao commented 2 years ago

range()内部非指定的情况下是从0开始 range(10)是0到9 range(1,11)是1到10

Meng-cao commented 2 years ago

如何调用函数中的函数

chenny30 commented 2 years ago

I mean this is not even a detail

chenny30 commented 2 years ago

It will be a common sense to you

Meng-cao commented 2 years ago

I mean this is not even a detail

hmm..thanks for watching this? Didn't see that happen. Basically this is only a quick memo for myself. And thanks for the comment.

Meng-cao commented 2 years ago

项目中python与c,c++的通信★

Python扩展 参考文章https://www.zhihu.com/question/23003213 不理解。

Meng-cao commented 2 years ago

python参数传递的*args, **kwargs

允许定义的函数接受任意数目的参数。

Meng-cao commented 2 years ago

Python调用函数出现未定义

Meng-cao commented 2 years ago

函数定义与调用先后顺序的问题