- 博客(2)
- 收藏
- 关注
原创 How to traverse a directory tree
Example demonstrated here has no files. 1. Two ways to traverse a directory tree: 1.1 Recursive: def tra_dir(rootDir): for lists in os.listdir(rootDir): path = os.path.join
2017-03-17 21:30:49 313
原创 Different Ways to create random number in C++
1) void srand(unsigned int seed): *It can create a pseudo random number, if the seed is the same, then the random number is the same. *The common way to use it is as follows:
2017-02-28 22:22:01 176
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人