好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

python learning base 不错

python learning base 不错

http://pleac.sourceforge.net/pleac_python/directories.html

PLEAC - Programming Language Examples Alike Cookbook

Summary

Following the great  Perl Cookbook  (by Tom Christiansen & Nathan Torkington, published by O'Reilly; you can freely browse an excerpt of the book  here ) which presents a suite of common programming problems solved in the Perl language, this project aims to implement the solutions in other programming languages.

If successful, this project may become a primary resource for quick, handy and free reference to solve most common programming problems using various programming languages, and for comparison on ease-of-use and power/efficiency of these languages.

The material, considered as some Documentation, is wholly released under the Gnu  Free Documentation License , except the Perl part, which is copyrighted by O'Reilly & Associates yet freely available .

Please  subscribe  to the discussion mailing-list if interested in the project.

The FAQ is  here . You may also see  who talked  about Pleac.

Support

http://pleac.sourceforge.net/

前面的Python os.listdir 可以列出 dir 里面的所有文件和目录,但不包括子目录中的内容。os.walk 可以遍历下面的所有目录,包括子目录。

os.listdir只返回一层的文件夹和文件名

http://pleac.sourceforge.net/pleac_python/index.html  good

查看更多关于python learning base 不错的详细内容...

  阅读:46次