<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Python - 分类 - Windvalley</title><link>https://windvalley.github.io/categories/python/</link><description>Python - 分类 - Windvalley</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>levinwang6@gmail.com (windvalley)</managingEditor><webMaster>levinwang6@gmail.com (windvalley)</webMaster><copyright>This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.</copyright><lastBuildDate>Wed, 11 Oct 2017 21:15:30 +0800</lastBuildDate><atom:link href="https://windvalley.github.io/categories/python/" rel="self" type="application/rss+xml"/><item><title>理解Python3的面向对象编程</title><link>https://windvalley.github.io/python3-oop/</link><pubDate>Wed, 11 Oct 2017 21:15:30 +0800</pubDate><author>作者</author><guid>https://windvalley.github.io/python3-oop/</guid><description>面向对象是相当于面向过程而言的, 面向过程语言是一种基于功能分析的, 以算法为中心的程序设计方法, 而面向对象是一种基于结构分析的, 以数据为中心的</description></item><item><title>Python的import你用对了吗</title><link>https://windvalley.github.io/python-import/</link><pubDate>Wed, 27 Sep 2017 22:24:28 +0800</pubDate><author>作者</author><guid>https://windvalley.github.io/python-import/</guid><description>写一个中大型项目, 往往需要在项目根路径下安排多层级的子目录和文件, 然后各文件之间通过import来相互连接. 各 python 文件之间如何通过import</description></item><item><title>Python编码规范</title><link>https://windvalley.github.io/python-code-conventions/</link><pubDate>Sat, 10 Jun 2017 19:32:48 +0800</pubDate><author>作者</author><guid>https://windvalley.github.io/python-code-conventions/</guid><description>缩进规范 使用四空格缩进 每行最大长度79个字符(flake8要求79个字符, pylint要求的规范是每行长度不能超过100个字符) 空行规范 全局</description></item><item><title>如何将Virtualenv用于生产环境</title><link>https://windvalley.github.io/use-virtualenv-in-production/</link><pubDate>Tue, 14 Oct 2014 14:26:16 +0800</pubDate><author>作者</author><guid>https://windvalley.github.io/use-virtualenv-in-production/</guid><description>应用场景 一台服务器上运行多个 Python 项目, 每个项目都需要有独立的 Python 虚拟环境, 互不干扰. 项目组织 服务器上统一的干净的 Python 路径为: /usr/local/python/ 项目 1 的根路径举例:</description></item></channel></rss>