摘要:
Learned a lot. Gonna compose more tonight. 03:55 P.M. 阅读全文
摘要:
---恢复内容开始---一般情况下需要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看看包里面的主要成分是什么。( 阅读全文
摘要:
---恢复内容开始---一般情况下需要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看看包里面的主要成分是什么。( 阅读全文
摘要:
一般情况下需要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看看包里面的主要成分是什么。(那个包括静态文件的文件夹 阅读全文
摘要:
---恢复内容开始---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 是默认用的 阅读全文
摘要:
上一篇文章介绍的是用zip(*data_matrix) ,即便是你使用矩阵,还是要自己加上一些标点符号,括号之类,还是比较复杂的。令人心里痒痒的。总是感觉不够高效,因为我们最平常喜欢做的是复制粘帖。所以做一个能直接读取文档,并且将其输入到数据库中的东西,应该非常好用,这个对某些喜欢做爬虫的网站来说,应该比较有市场。 :D这篇就是来用直接打开文档编辑,来重新创造数组或者元组的。先复习一下上次知识,这里我引用以前的一篇博文的部分内容。http://blog.csdn.net/spaceship20008/article/details/8316983######################## 阅读全文
摘要:
其中为了输入一些数据库量表,我不得不到官方网站里面去下载原来数据,然后导入到数据库中。可是发现官方网站给的数据是pdf的,即使是拷贝下来,也是行列不在一起的,这样对将数据整合到数据库中是比较麻烦的。为了不每条数据都一条一条地输入我想出了一个办法。要输入的数据分别在此pdf文档的348 页,349页。复制粘帖到文本文档里面是按照每行每行的。数据并不是按照列来的。即使是复制到libraoffice 中也不能。于是我想出了这个方法这是直接复制的结果:这是我们想要的排列组合,13行,3列 (下载地址:http://wenku.it168.com/d_000144410.shtml分别位于348,349 阅读全文
摘要:
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 阅读全文
摘要:
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. 阅读全文
摘要:
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 :) 阅读全文