Skip to content

Commit

Permalink
修改笔误
Browse files Browse the repository at this point in the history
  • Loading branch information
ppdx committed Sep 29, 2017
1 parent 51217fa commit 36abac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zh-cn/0x02.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

**Python脚本框架**

下面是一个开始写Python脚本的基础例子,开始部分,我么告诉系统需要使用那一个解释器"#!/usr/bin/env python",然后我们通过"def main():"声明一个main函数,最后2行代码有mian()的先执行。你可以定义在你的脚本里面定义其它函数,这样使得你的代码更容易的理解和修改维护:
下面是一个开始写Python脚本的基础例子,开始部分,我么告诉系统需要使用那一个解释器"#!/usr/bin/env python",然后我们通过"def main():"声明一个main函数,最后2行代码有main()的先执行。你可以定义在你的脚本里面定义其它函数,这样使得你的代码更容易的理解和修改维护:

```
#!/usr/bin/python
Expand Down

0 comments on commit 36abac6

Please sign in to comment.