Python测试面试题目

问答:https://blog.csdn.net/sinat_38682860/article/details/90904858

1. python 迭代器和生成器区别和原理

   https://blog.csdn.net/weixin_35513543/article/details/113966354

   https://hero78.blog.csdn.net/article/details/82418257?utm_medium=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7EBlogCommendFromMachineLearnPai2%7Edefault-1.control&dist_request_id=1332049.11901.16194441453561969&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7EBlogCommendFromMachineLearnPai2%7Edefault-1.control

2. python 静态方法和静态类区别

https://mattkang.blog.csdn.net/article/details/9615239?utm_medium=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7EBlogCommendFromMachineLearnPai2%7Edefault-1.control&dist_request_id=1332049.16410.16194803592553575&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7EBlogCommendFromMachineLearnPai2%7Edefault-1.control

3.pytest 如何指定tag跑测试,setup,teardown用法

4. docker CMD和ENTRYPOINT区别,如何指定运行时环境变量

     https://blog.csdn.net/wuce_bai/article/details/88997725

5.元组列表如何转换成排序字典?

>>> from collections import OrderedDict
>>> a=[(1,2),(4,6),(0,3)]
>>> OrderedDict(a)
OrderedDict([(1, 2), (4, 6), (0, 3)])

6.map用法

 7. $@和$*,$#区别

  https://www.cnblogs.com/Template/p/9182534.html

8. 静态属性

  https://blog.51cto.com/853056088/2132884

9. Jenkins常用插件

  https://www.jianshu.com/p/e0b7d377132a

原文地址:https://www.cnblogs.com/i-shu/p/14706640.html