随笔分类 -  Python

摘要:Code layoutCustom template tags and filters must live inside a Django app. If they relate to an existing app it makes sense to bundle them there; othe... 阅读全文
posted @ 2015-07-25 10:42 Mx.Hu 阅读(242) 评论(0) 推荐(0)
摘要:Python中实现线性代数矩阵转置的几种方法 阅读全文
posted @ 2015-06-17 14:14 Mx.Hu 阅读(2129) 评论(0) 推荐(0)
摘要:用Python实现的一个随机字串生成器,我首先想到的是直接用itertools和random来'随机'产生一些,够用就OK了,想想其他的也不麻烦,类似微博等的短链生成工具用起来是很方便的,这是背景 阅读全文
posted @ 2015-04-15 01:03 Mx.Hu 阅读(2276) 评论(0) 推荐(0)
摘要:import_pywin32_system_module 阅读全文
posted @ 2015-02-10 09:37 Mx.Hu 阅读(1584) 评论(0) 推荐(0)
摘要:Django生产环境的部署-Apache-mod_wsgi.一个简单的demo 阅读全文
posted @ 2015-02-06 18:28 Mx.Hu 阅读(436) 评论(0) 推荐(0)
摘要:解决Windows下Python安装模块出现error: Unable to find vcvarsall.bat 阅读全文
posted @ 2015-02-04 21:03 Mx.Hu 阅读(520) 评论(0) 推荐(0)
摘要:用Python实现的一个抓取行政区划的小小爬虫 阅读全文
posted @ 2015-01-27 19:50 Mx.Hu 阅读(1016) 评论(0) 推荐(0)
摘要:Python尾递归的一个简单运用 阅读全文
posted @ 2015-01-27 12:45 Mx.Hu 阅读(305) 评论(0) 推荐(0)
摘要:Python下的静态常量的实现 阅读全文
posted @ 2015-01-27 12:08 Mx.Hu 阅读(608) 评论(0) 推荐(0)
摘要:今日主题 + 定义博客文章和评论的的数据库定义 + 定义操作这几个Model的后台数据 阅读全文
posted @ 2015-01-26 22:21 Mx.Hu 阅读(553) 评论(0) 推荐(0)
摘要:今日任务: 1 blog的数据库模型定义 2 简单的注册登录功能的实现 数据库模型的定义,字段相关的介绍,views中函数的定义,模板文件的使用,表单的简单运用 阅读全文
posted @ 2015-01-22 01:07 Mx.Hu 阅读(1863) 评论(2) 推荐(2)
摘要:大学开始就一直使用Notepad++ 作为代码编辑器,喜欢它的简洁明了,喜欢它的个性,也喜欢它各种各样骚气的插件. 今天闲来无事,写篇文章记录一下平时使用的种种,包括但不限于个性化使用一些宏,快捷键,相关的命令以及一些个人用的比较多的插件. 这里着重(或者是主要)介绍一些如何将Notepad++打造的适合Python开发. 阅读全文
posted @ 2015-01-10 23:45 Mx.Hu 阅读(4737) 评论(0) 推荐(0)
摘要:Python-standard-library-1-buildin-functions 阅读全文
posted @ 2014-12-15 21:57 Mx.Hu 阅读(237) 评论(0) 推荐(0)
摘要: 11. Brief Tour of the Standard Library – Part II 11.1. Output Formatting 11.2. Templating 11.3. Working with Binary Data Record Layouts 11.4. Multi-threading 11.5. Logging 11.6. Weak References 11.7. Tools for Working with Lists 11.8. Decimal Floating Point Arithmetic 阅读全文
posted @ 2014-12-11 22:32 Mx.Hu 阅读(562) 评论(0) 推荐(0)
摘要: django request对象 阅读全文
posted @ 2014-12-10 09:41 Mx.Hu 阅读(549) 评论(0) 推荐(0)
摘要: Python的一些常用的内建库,os模块,getopt模块,glob模块,sys模块,re模块,math模块,random模块,urllib2模块,smptlib模块, datetime模块, zlib模块等,timeit模块,doctest模块,unittest模块等等等等... 阅读全文
posted @ 2014-12-09 21:14 Mx.Hu 阅读(299) 评论(0) 推荐(0)
摘要: Python的类 阅读全文
posted @ 2014-12-09 20:05 Mx.Hu 阅读(483) 评论(0) 推荐(0)
摘要: Python中的输入和输出,文件对象的操作,数据的序列化(json) 阅读全文
posted @ 2014-12-06 00:36 Mx.Hu 阅读(361) 评论(0) 推荐(0)
摘要: 简单介绍一下Python的module是使用,标准的一些库,dir函数,库的导入等等等等等 阅读全文
posted @ 2014-12-04 23:18 Mx.Hu 阅读(564) 评论(0) 推荐(0)
摘要: 详细的介绍一些Python中的数据模型 阅读全文
posted @ 2014-12-03 23:57 Mx.Hu 阅读(401) 评论(0) 推荐(0)