strength testing by grab method 抓样法拉伸强力试验
You'll first notice that the grab method is quite different from the other two (kiosk and triage) controllers.
首先要注意,grab方法和其他两个控制器(kiosk与triage)大不相同。
In order to keep this method as context-free as possible, we grab the file as an InputStream out of the ClassLoader that loaded the class.
为了让此方法尽量与上下文无关,我们从加载类的ClassLoader中抓取文件作为InputStream。
In the run method of this class, grab the Web page, chunk, from off of the queue in each thread, and then process this chunk with Beautiful Soup.
在这个类的run方法中,从队列中的各个线程获取web页面、文本块,然后使用Beautiful Soup处理这个文本块。
应用推荐