Python

目前Python的模块大约有22万个,数字还在增长中,以下是30个常用Python模块,来自于不完全统计:


1. os

2. sys

3. time

4. re

5. json

6. random

7. numpy

8. logging

9. collections

10. argparse

11. datetime

12. subprocess

13. requests

14. math

15. setuptools

16. unittest

17. threading

18. datetime.datetime

19. shutil

20. copy

21. itertools

22. functools

23. socket

24. hashlib

25. os.path

26. io

27. tempfile

28. matplotlib.pyplot

29. string

30. glob


其中os和os.path有些“重复”,主要还是代码中关于文件的操作比较多的。

原文地址:https://www.cnblogs.com/johnthegreat/p/12763885.html