<commit_before>---
bg: "tools.jpg"
layout: post
title:  "一个python启动器脚本"
crawlertitle: "爬虫"
summary: "在服务器上维护jar包的脚本"
date:   2016-10-16 22:55:29 +0800
categories: posts
tags: ['爬虫']
author: haohhxx
---


```python
#!/usr/bin/env python
# -*- coding:utf-8 -*-

import os<commit_msg>python启动器<commit_after>---
bg: "tools.jpg"
layout: post
title:  "一个python启动器脚本"
crawlertitle: "爬虫"
summary: "在服务器上维护jar包的脚本"
date:   2016-10-16 22:55:29 +0800
categories: posts
tags: ['爬虫']
author: haohhxx
---

在服务器上维护jar包的一段程序


```python
#!/usr/bin/env python
# -*- coding:utf-8 -*-

import os
{'fraction_non_alphanumeric': 0.1840277777777778, 'fraction_numerical': 0.06597222222222222, 'mean_word_length': 4.293577981651376, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '925558', 'n_tokens_mistral': 314, 'n_tokens_neox': 292, 'n_words': 54}