随笔分类 -  Python

摘要:#!/usr/bin/env python # import mitogen.master import mitogen.select import subprocess import logging import mitogen.utils import time import os def read_local(): with open('/Users/Redheat/Downlo... 阅读全文
posted @ 2018-09-19 15:09 Redheat 阅读(238) 评论(0) 推荐(0)
摘要:因为要备课,写了一下归并排序。当然还可以优化。 阅读全文
posted @ 2018-08-02 00:04 Redheat 阅读(161) 评论(0) 推荐(0)
摘要:原生的ansible不支持service.status,在Google之后,发现有人提交了一个patch,可以支持status选项.见https://github.com/ritzk/ansible-modules-core/commit/ab4c9c226e94371c2b60aab57ef5b0 阅读全文
posted @ 2018-07-23 15:51 Redheat 阅读(2633) 评论(0) 推荐(0)