上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 23 下一页
摘要: Learned a lot. Gonna compose more tonight. 03:55 P.M. 阅读全文
posted @ 2013-05-28 15:55 spaceship9 阅读(109) 评论(0) 推荐(0) 编辑
摘要: ---恢复内容开始---一般情况下需要sqlite3所以需要sudo apt-get install libsqlite3-dev而后,创建一个alchemy的project还需要Exposing Test Coverage Information就是$ ../bin/easy_install nose coverage然后,让它自动下载安装即可。On UNIX:$ ../bin/nosetests --cover-package=tutorial --cover-erase --with-coverage这样是用来检测应用的成分的,nose , coverage看看包里面的主要成分是什么。( 阅读全文
posted @ 2013-04-30 21:27 spaceship9 阅读(227) 评论(0) 推荐(1) 编辑
摘要: ---恢复内容开始---一般情况下需要sqlite3所以需要sudo apt-get install libsqlite3-dev而后,创建一个alchemy的project还需要Exposing Test Coverage Information就是$ ../bin/easy_install nose coverage然后,让它自动下载安装即可。On UNIX:$ ../bin/nosetests --cover-package=tutorial --cover-erase --with-coverage这样是用来检测应用的成分的,nose , coverage看看包里面的主要成分是什么。( 阅读全文
posted @ 2013-04-29 14:08 spaceship9 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 一般情况下需要sqlite3所以需要sudo apt-get install libsqlite3-dev而后,创建一个alchemy的project还需要Exposing Test Coverage Information就是$ ../bin/easy_install nose coverage然后,让它自动下载安装即可。On UNIX:$ ../bin/nosetests --cover-package=tutorial --cover-erase --with-coverage这样是用来检测应用的成分的,nose , coverage看看包里面的主要成分是什么。(那个包括静态文件的文件夹 阅读全文
posted @ 2013-04-28 23:58 spaceship9 阅读(324) 评论(0) 推荐(0) 编辑
摘要: ---恢复内容开始---sqlite3.ProgrammingError: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings.sqlite3 插入程序出错如上---恢复内容结束---由于sqlite3 是默认用的 阅读全文
posted @ 2013-04-25 16:44 spaceship9 阅读(719) 评论(0) 推荐(0) 编辑
摘要: 上一篇文章介绍的是用zip(*data_matrix) ,即便是你使用矩阵,还是要自己加上一些标点符号,括号之类,还是比较复杂的。令人心里痒痒的。总是感觉不够高效,因为我们最平常喜欢做的是复制粘帖。所以做一个能直接读取文档,并且将其输入到数据库中的东西,应该非常好用,这个对某些喜欢做爬虫的网站来说,应该比较有市场。 :D这篇就是来用直接打开文档编辑,来重新创造数组或者元组的。先复习一下上次知识,这里我引用以前的一篇博文的部分内容。http://blog.csdn.net/spaceship20008/article/details/8316983######################## 阅读全文
posted @ 2013-04-20 18:17 spaceship9 阅读(296) 评论(0) 推荐(0) 编辑
摘要: 其中为了输入一些数据库量表,我不得不到官方网站里面去下载原来数据,然后导入到数据库中。可是发现官方网站给的数据是pdf的,即使是拷贝下来,也是行列不在一起的,这样对将数据整合到数据库中是比较麻烦的。为了不每条数据都一条一条地输入我想出了一个办法。要输入的数据分别在此pdf文档的348 页,349页。复制粘帖到文本文档里面是按照每行每行的。数据并不是按照列来的。即使是复制到libraoffice 中也不能。于是我想出了这个方法这是直接复制的结果:这是我们想要的排列组合,13行,3列 (下载地址:http://wenku.it168.com/d_000144410.shtml分别位于348,349 阅读全文
posted @ 2013-04-20 16:56 spaceship9 阅读(462) 评论(0) 推荐(0) 编辑
摘要: http://docs.python.org/2/library/dbhash.html?highlight=.first#database-objects11.10.1. Database ObjectsThe database objects returned byopen()provide the methods common to all the DBM-style databases and mapping objects. The following methods are available in addition to the standard methods.dbhash.f 阅读全文
posted @ 2013-04-17 17:17 spaceship9 阅读(217) 评论(0) 推荐(0) 编辑
摘要: I downloaded some templates and make it work with pyramid.CSS, Js, and other things. It's just like easy to use.You see I haven't mapped the images . coz there are too many over there. No need.Sobuild a site later. :) Just get some JS and have fun. 阅读全文
posted @ 2013-04-17 04:24 spaceship9 阅读(144) 评论(0) 推荐(0) 编辑
摘要: So here i write.Hope cnblogs.com will live forever. All my blogs will be stored forever :)Alright. On the way to the glory! Pyramid :) 阅读全文
posted @ 2013-04-16 23:03 spaceship9 阅读(101) 评论(0) 推荐(0) 编辑
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 23 下一页