
1 Latin 2019 年 10 月 22 日 自己写 compile 脚本包装下 |
2 ihidchaos 2019 年 10 月 22 日 |
3 Cooky 2019 年 10 月 22 日 via Android find,grep,xargs |
4 |
5 tinydebian OP @ihidchaos 使用 compileall -x (regex) 应该是最简洁的吧?只是这个 regex 稍复杂点。 |
6 tinydebian OP @Cooky 使用 compileall -x (regex) 应该是最简洁的吧?只是这个 regex 稍复杂点。 |
7 Latin 2019 年 10 月 22 日 看来大家都是混淆成 pyc 啊 手动滑稽 |
8 Latin 2019 年 10 月 22 日 @tinydebian https://docs.python.org/3.6/library/compileall.html  |
9 tinydebian OP @Latin 是啊,compileall 就是 byte-comile => .pyc 文件的。 有 2 个子目录,我想排除掉( skipped )。如果只是 skip 一个子目录 -x r"*/folder1*" 工作得非常好,但是我不知道怎么写这个 regex 来排除 2 个 或 3 个 子目录。 |