mirror of
https://github.com/phodal/github
synced 2026-05-23 17:18:23 +00:00
修复 Python 拼写错误
This commit is contained in:
parent
a1750d88c9
commit
e59ac305bb
2 changed files with 3 additions and 3 deletions
|
|
@ -100,7 +100,7 @@
|
||||||
* [数据解析](http://github.phodal.com/#数据解析)
|
* [数据解析](http://github.phodal.com/#数据解析)
|
||||||
* [Matplotlib](http://github.phodal.com/#matplotlib)
|
* [Matplotlib](http://github.phodal.com/#matplotlib)
|
||||||
* [每周分析](http://github.phodal.com/#每周分析)
|
* [每周分析](http://github.phodal.com/#每周分析)
|
||||||
* [python GitHub 每周情况分析](http://github.phodal.com/#python-github-每周情况分析)
|
* [Python GitHub 每周情况分析](http://github.phodal.com/#python-github-每周情况分析)
|
||||||
* [Python 数据分析](http://github.phodal.com/#python-数据分析)
|
* [Python 数据分析](http://github.phodal.com/#python-数据分析)
|
||||||
* [Python Matplotlib图表](http://github.phodal.com/#python-matplotlib图表)
|
* [Python Matplotlib图表](http://github.phodal.com/#python-matplotlib图表)
|
||||||
* [存储到数据库中](http://github.phodal.com/#存储到数据库中)
|
* [存储到数据库中](http://github.phodal.com/#存储到数据库中)
|
||||||
|
|
|
||||||
|
|
@ -337,7 +337,7 @@ sudo zypper install sqlite3
|
||||||
|
|
||||||
### 数据导入
|
### 数据导入
|
||||||
|
|
||||||
需要注意的是这里是需要python2.7,起源于对gzip的上下文管理器的支持问题
|
需要注意的是这里是需要 Python 2.7,起源于对gzip的上下文管理器的支持问题
|
||||||
|
|
||||||
```python
|
```python
|
||||||
def handle_gzip_file(filename):
|
def handle_gzip_file(filename):
|
||||||
|
|
@ -403,7 +403,7 @@ date_re = re.compile(r"([0-9]{4})-([0-9]{2})-([0-9]{2})-([0-9]+)\.json.gz")
|
||||||
|
|
||||||
不过主要的还是在于``glob.glob``
|
不过主要的还是在于``glob.glob``
|
||||||
|
|
||||||
> glob是python自己带的一个文件操作相关模块,用它可以查找符合自己目的的文件,就类似于Windows下的文件搜索,支持通配符操作。
|
> glob是 Python 自己带的一个文件操作相关模块,用它可以查找符合自己目的的文件,就类似于Windows下的文件搜索,支持通配符操作。
|
||||||
|
|
||||||
这里也就用上了``gzip.GzipFile``又一个不错的东西。
|
这里也就用上了``gzip.GzipFile``又一个不错的东西。
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue