equal
deleted
inserted
replaced
|
1 .. -*- coding: utf-8 -*- |
|
2 |
|
3 ======== |
|
4 Python |
|
5 ======== |
|
6 .. contents:: |
|
7 |
|
8 Licence and history of Python. |
|
9 ============================== |
|
10 |
|
11 http://docs.python.org/dev/license.htm |
|
12 |
|
13 Byte compile .py and check for errors. |
|
14 ====================================== |
|
15 :: |
|
16 |
|
17 $ python -m compileall dir |
|
18 |
|
19 Uninstall python modules. |
|
20 ========================= |
|
21 |
|
22 Install again and save list of installed files:: |
|
23 |
|
24 $ python setup.py install --record files.txt |
|
25 $ rm `cat files.txt` |
|
26 |
|
27 Code analyzers and style checkers. |
|
28 ================================== |
|
29 |
|
30 Pylint. |
|
31 ------- |
|
32 |
|
33 http://www.logilab.org/857 |
|
34 http://pypi.python.org/pypi/pylint |
|
35 |
|
36 PyChecker. |
|
37 ---------- |
|
38 |
|
39 http://pychecker.sourceforge.net/ |
|
40 |