随笔分类 - Python Coding
To be a real programmer ,
摘要:https://docs.djangoproject.com/en/2.2/intro/tutorial01/ virtualenv lqidjango source bin/activate pip3 install Django --> pass # but can't find the dja
阅读全文
摘要:when trying the sample code of "link_crawler3.py", it will always fail with below message: /usr/bin/python3 /home/cor/webscrappython/Web_Scraping_with
阅读全文
摘要:1. Debian 9 + Python 3.5.3 "python3 --version" link_crawler3.py # -*- coding: utf-8 -*- import re import queue import time from common import download
阅读全文
摘要:error: /usr/bin/python3 /home/cor/webscrappython/Web_Scraping_with_Python/chapter01/link_crawler2.py Downloading:http://example.webscraping.com Downlo
阅读全文
摘要:linkage
阅读全文
摘要:1. OS: debian 9 2. cor@debian:~$ sudo pip3 install Scrapy cor@debian:~$ sudo pip3 install Scrapy 3. open a terminal , and go to the directory you'd li
阅读全文
摘要:https://www.programcreek.com/python/example/59427/urllib.request.Request https://docs.python.org/3.5/library/urllib.request.html#urllib.request.Reques
阅读全文
摘要:sudo pip3 install Scrapy,"sudo give me some milk" cor@MiWiFi-R3-srv:~$ sudo pip3 install Scrapy Collecting Scrapy Downloading https://files.pythonhost
阅读全文
摘要:OS debian 9 After "pip3 installl Scrapy" run under terminal , but scrapy can't be taped automatically. > after below steps, then I try "sudo pip3 inst
阅读全文
摘要:OS, debian 9 1. pip3 install Scrapy pip3 install Scrapy Collecting Scrapy Downloading https://files.pythonhosted.org/packages/e0/b7/06c19d7d7f5318ffd1
阅读全文
摘要:source code , book:"Web scraping with Python" 1. trying the first function, but run into errors all the time, let me figure out how to fix it 1.1 code
阅读全文
摘要:the result I see from console is something like this: https://book.douban.com/subject/1058661/飞鸟集 https://book.douban.com/subject/2070844/梦里花落知多少 http
阅读全文
摘要:1 # encoding: utf-8 2 3 ''' 4 This modules exposes most integer constants defined in ``linux/input.h``. 5 6 Exposed constants:: 7 8 KEY, ABS, REL, SW,
阅读全文
摘要:1 # encoding: utf-8 2 3 import os 4 import stat 5 import glob 6 7 from evdev import ecodes 8 from evdev.events import event_factory 9 10 11 def list_d
阅读全文
摘要:uinput.py , python code of evdev module 1 # encoding: utf-8 2 3 import os 4 import stat 5 import time 6 7 from evdev import _uinput 8 from evdev impor
阅读全文
摘要:share the source code first, dig latter 1 # encoding: utf-8 2 3 ''' 4 This module provides the :class:`InputEvent` class, which closely 5 resembles th
阅读全文
摘要:OS: Chrome installed Directory: /usr/local/lib64/python2.7/site-packages/evdev/ files:_ecodes.so, _input.so, _uinput.so; device.py, events.py, uinput.
阅读全文
浙公网安备 33010602011771号