关闭

Zhiku Project Technique Note

122人阅读 评论(0) 收藏 举报

1. Scrapy

When a spider is named other than "XXX_spider.py" , sometimes the "from XXX import XXitems" statement will throw exceptions; The reason remains unclear.


2. Import lib, so libary into C++ progarm

When compiling in cmd, the search path for header files (.h) and the specific path of library files should be provided as the g++ command argument.

Similar path specification should be done in the compiling&linking&building configuration process.


3. Python strip (Python27)

Python2.7 strip method is set on default to strip all the whitespace characters in a string, thus it will product unpredictable behavior when provided a " "(whitespace) character as argument.


4. When doing an external project, try not to alter the original project plan, especially the intention was to decrease the workload.


5. Scrapy build-in time delay: 0.02 s = 43 page/s

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:37605次
    • 积分:1271
    • 等级:
    • 排名:千里之外
    • 原创:83篇
    • 转载:68篇
    • 译文:0篇
    • 评论:0条