随笔分类 -  Python Coding

To be a real programmer ,
该文被密码保护。
posted @ 2021-04-25 12:21 碧水东流至此回 阅读(0) 评论(0) 推荐(0)
摘要:https://docs.djangoproject.com/en/2.2/intro/tutorial01/ virtualenv lqidjango source bin/activate pip3 install Django --> pass # but can't find the dja 阅读全文
posted @ 2020-04-23 12:12 碧水东流至此回 阅读(244) 评论(2) 推荐(0)
摘要: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 阅读全文
posted @ 2020-03-30 15:21 碧水东流至此回 阅读(339) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2020-03-26 16:13 碧水东流至此回 阅读(350) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2020-03-25 21:18 碧水东流至此回 阅读(0) 评论(0) 推荐(0)
摘要:error: /usr/bin/python3 /home/cor/webscrappython/Web_Scraping_with_Python/chapter01/link_crawler2.py Downloading:http://example.webscraping.com Downlo 阅读全文
posted @ 2020-03-25 17:14 碧水东流至此回 阅读(147) 评论(0) 推荐(0)
摘要:linkage 阅读全文
posted @ 2020-03-25 17:12 碧水东流至此回 阅读(108) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2020-03-25 14:52 碧水东流至此回 阅读(248) 评论(0) 推荐(0)
摘要:https://www.programcreek.com/python/example/59427/urllib.request.Request https://docs.python.org/3.5/library/urllib.request.html#urllib.request.Reques 阅读全文
posted @ 2020-03-25 10:14 碧水东流至此回 阅读(122) 评论(0) 推荐(0)
摘要:sudo pip3 install Scrapy,"sudo give me some milk" cor@MiWiFi-R3-srv:~$ sudo pip3 install Scrapy Collecting Scrapy Downloading https://files.pythonhost 阅读全文
posted @ 2020-03-24 18:40 碧水东流至此回 阅读(274) 评论(1) 推荐(0)
摘要: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 阅读全文
posted @ 2020-03-24 18:03 碧水东流至此回 阅读(175) 评论(0) 推荐(0)
摘要:OS, debian 9 1. pip3 install Scrapy pip3 install Scrapy Collecting Scrapy Downloading https://files.pythonhosted.org/packages/e0/b7/06c19d7d7f5318ffd1 阅读全文
posted @ 2020-03-24 17:41 碧水东流至此回 阅读(226) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2020-03-24 11:01 碧水东流至此回 阅读(210) 评论(0) 推荐(0)
摘要:the result I see from console is something like this: https://book.douban.com/subject/1058661/飞鸟集 https://book.douban.com/subject/2070844/梦里花落知多少 http 阅读全文
posted @ 2020-03-18 09:22 碧水东流至此回 阅读(109) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2020-03-17 23:28 碧水东流至此回 阅读(2) 评论(0) 推荐(0)
摘要: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, 阅读全文
posted @ 2016-07-13 10:02 碧水东流至此回 阅读(400) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2016-07-13 10:01 碧水东流至此回 阅读(258) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2016-07-13 10:00 碧水东流至此回 阅读(513) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2016-07-13 09:57 碧水东流至此回 阅读(339) 评论(0) 推荐(0)
摘要:OS: Chrome installed Directory: /usr/local/lib64/python2.7/site-packages/evdev/ files:_ecodes.so, _input.so, _uinput.so; device.py, events.py, uinput. 阅读全文
posted @ 2016-07-13 09:55 碧水东流至此回 阅读(511) 评论(0) 推荐(0)