diff --git "a/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/2.\347\250\213\345\272\217\350\256\276\350\256\241\346\200\235\346\203\263/process.py" "b/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/2.\347\250\213\345\272\217\350\256\276\350\256\241\346\200\235\346\203\263/process.py" index d2bdbf46902423eb41c0cb7b3a02543a45ab7c3e..bdb55d7b0bb68d47f70c5d10715de649fa5d34b1 100644 --- "a/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/2.\347\250\213\345\272\217\350\256\276\350\256\241\346\200\235\346\203\263/process.py" +++ "b/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/2.\347\250\213\345\272\217\350\256\276\350\256\241\346\200\235\346\203\263/process.py" @@ -1,4 +1,3 @@ - # -*- coding: UTF-8 -*- # 作者:幻灰龙 # 标题:基本的 Python 处理 diff --git "a/data/2.python\344\270\255\351\230\266/1.\345\237\272\346\234\254\346\212\200\350\203\275/3.\346\225\260\346\215\256\345\272\223\346\223\215\344\275\234/error_code.py" "b/data/2.python\344\270\255\351\230\266/1.\345\237\272\346\234\254\346\212\200\350\203\275/3.\346\225\260\346\215\256\345\272\223\346\223\215\344\275\234/error_code.py" index e30da31429c4d19f9d56da80ccf0a3f8b2ee7176..6b830501803ce2e5802745c94f9ad421f913ef54 100644 --- "a/data/2.python\344\270\255\351\230\266/1.\345\237\272\346\234\254\346\212\200\350\203\275/3.\346\225\260\346\215\256\345\272\223\346\223\215\344\275\234/error_code.py" +++ "b/data/2.python\344\270\255\351\230\266/1.\345\237\272\346\234\254\346\212\200\350\203\275/3.\346\225\260\346\215\256\345\272\223\346\223\215\344\275\234/error_code.py" @@ -1,4 +1,3 @@ - # -*- coding: UTF-8 -*- # 作者:幻灰龙 # 标题:错误码处理 diff --git "a/data/2.python\344\270\255\351\230\266/2.Web\345\272\224\347\224\250\345\274\200\345\217\221/1.Web\345\274\200\345\217\221\345\237\272\347\241\200\347\237\245\350\257\206/error_code.py" "b/data/2.python\344\270\255\351\230\266/2.Web\345\272\224\347\224\250\345\274\200\345\217\221/1.Web\345\274\200\345\217\221\345\237\272\347\241\200\347\237\245\350\257\206/error_code.py" index e30da31429c4d19f9d56da80ccf0a3f8b2ee7176..6b830501803ce2e5802745c94f9ad421f913ef54 100644 --- "a/data/2.python\344\270\255\351\230\266/2.Web\345\272\224\347\224\250\345\274\200\345\217\221/1.Web\345\274\200\345\217\221\345\237\272\347\241\200\347\237\245\350\257\206/error_code.py" +++ "b/data/2.python\344\270\255\351\230\266/2.Web\345\272\224\347\224\250\345\274\200\345\217\221/1.Web\345\274\200\345\217\221\345\237\272\347\241\200\347\237\245\350\257\206/error_code.py" @@ -1,4 +1,3 @@ - # -*- coding: UTF-8 -*- # 作者:幻灰龙 # 标题:错误码处理 diff --git "a/data/2.python\344\270\255\351\230\266/2.Web\345\272\224\347\224\250\345\274\200\345\217\221/1.Web\345\274\200\345\217\221\345\237\272\347\241\200\347\237\245\350\257\206/store.py" "b/data/2.python\344\270\255\351\230\266/2.Web\345\272\224\347\224\250\345\274\200\345\217\221/1.Web\345\274\200\345\217\221\345\237\272\347\241\200\347\237\245\350\257\206/store.py" index a758475a3d68bb83d907f5b856b581c13835e9ab..6f5a53bf453cf4a98d50452d45a58349927ff038 100644 --- "a/data/2.python\344\270\255\351\230\266/2.Web\345\272\224\347\224\250\345\274\200\345\217\221/1.Web\345\274\200\345\217\221\345\237\272\347\241\200\347\237\245\350\257\206/store.py" +++ "b/data/2.python\344\270\255\351\230\266/2.Web\345\272\224\347\224\250\345\274\200\345\217\221/1.Web\345\274\200\345\217\221\345\237\272\347\241\200\347\237\245\350\257\206/store.py" @@ -1,4 +1,3 @@ - # -*- coding: UTF-8 -*- # 作者:幻灰龙 # 标题:状态存储 diff --git "a/data/2.python\344\270\255\351\230\266/2.Web\345\272\224\347\224\250\345\274\200\345\217\221/1.Web\345\274\200\345\217\221\345\237\272\347\241\200\347\237\245\350\257\206/validator.py" "b/data/2.python\344\270\255\351\230\266/2.Web\345\272\224\347\224\250\345\274\200\345\217\221/1.Web\345\274\200\345\217\221\345\237\272\347\241\200\347\237\245\350\257\206/validator.py" index 5a21eb0417c95b8fa871cbeb5d57ea42b5fb0cf6..249a556c38d71cdf183dd3c905a4a5751ca22c96 100644 --- "a/data/2.python\344\270\255\351\230\266/2.Web\345\272\224\347\224\250\345\274\200\345\217\221/1.Web\345\274\200\345\217\221\345\237\272\347\241\200\347\237\245\350\257\206/validator.py" +++ "b/data/2.python\344\270\255\351\230\266/2.Web\345\272\224\347\224\250\345\274\200\345\217\221/1.Web\345\274\200\345\217\221\345\237\272\347\241\200\347\237\245\350\257\206/validator.py" @@ -1,4 +1,3 @@ - # -*- coding: UTF-8 -*- # 作者:幻灰龙 # 标题:参数校验 diff --git "a/data/2.python\344\270\255\351\230\266/2.Web\345\272\224\347\224\250\345\274\200\345\217\221/3. Tornado/hello.py" "b/data/2.python\344\270\255\351\230\266/2.Web\345\272\224\347\224\250\345\274\200\345\217\221/3. Tornado/hello.py" index 948cdfa66ac11345f4d19f77686e7633664ffc71..d8845b65c8fcef0cce7aeb58989f81bd9cea0872 100644 --- "a/data/2.python\344\270\255\351\230\266/2.Web\345\272\224\347\224\250\345\274\200\345\217\221/3. Tornado/hello.py" +++ "b/data/2.python\344\270\255\351\230\266/2.Web\345\272\224\347\224\250\345\274\200\345\217\221/3. Tornado/hello.py" @@ -1,4 +1,3 @@ - # -*- coding: UTF-8 -*- # 作者:幻灰龙 # 标题:Python tornado 框架 diff --git "a/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/3.Beautiful Soup/html_parer.py" "b/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/3.Beautiful Soup/html_parer.py" index 0719c755cfbc00fe5cef925b77d0caf33cb4395c..8e21950ec47e4653aa556e5e80ab498b93ec28d7 100644 --- "a/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/3.Beautiful Soup/html_parer.py" +++ "b/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/3.Beautiful Soup/html_parer.py" @@ -1,4 +1,3 @@ - # -*- coding: UTF-8 -*- # 作者:行走的人偶 # 标题:BeautifulSoup @@ -18,5 +17,6 @@ def test(): '

') print(imgs) + if __name__ == '__main__': test() diff --git "a/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/4.lxml/get_html_appoint_p.py" "b/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/4.lxml/get_html_appoint_p.py" index 754c0cf394e87d2f8217cb0dce0a532437342fa7..aa48c5e2f03ff03d642e7bd5cf99b6f1fe0516cf 100644 --- "a/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/4.lxml/get_html_appoint_p.py" +++ "b/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/4.lxml/get_html_appoint_p.py" @@ -1,4 +1,3 @@ - # -*- coding: UTF-8 -*- # 作者:行走的人偶 # 标题:lxml解析网页 @@ -29,5 +28,6 @@ def test(): imgs = fetch_text(html) print(imgs) + if __name__ == '__main__': - test() \ No newline at end of file + test() diff --git "a/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/4.lxml/get_html_p.py" "b/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/4.lxml/get_html_p.py" index 36f1b0144099c07fdfb41b1bd60d2495509534f9..97549464131f9c3b9cafc8e92b8abd405e259ea4 100644 --- "a/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/4.lxml/get_html_p.py" +++ "b/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/4.lxml/get_html_p.py" @@ -1,4 +1,3 @@ - # -*- coding: UTF-8 -*- # 作者:行走的人偶 # 标题:lxml解析网页 @@ -29,5 +28,6 @@ def test(): imgs = fetch_text(html) print(imgs) + if __name__ == '__main__': - test() \ No newline at end of file + test() diff --git "a/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/4.lxml/get_html_text.py" "b/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/4.lxml/get_html_text.py" index a4341444c364c728dba232e83df4f41335a9a08e..c21325e1402e19587bfc8da318a4c0164188b5ae 100644 --- "a/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/4.lxml/get_html_text.py" +++ "b/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/4.lxml/get_html_text.py" @@ -1,4 +1,3 @@ - # -*- coding: UTF-8 -*- # 作者:行走的人偶 # 标题:lxml解析网页 @@ -29,5 +28,6 @@ def test(): imgs = fetch_text(html) print(imgs) + if __name__ == '__main__': - test() \ No newline at end of file + test()