"Writing web crawler with Python" example site building (frame + book pdf+ Chapter code)

Source: Internet
Author: User
Tags web2py

The code and tools used

Sample site source + Framework + book pdf+ Chapter code

Link: https://pan.baidu.com/s/1miHjIYk Password: af35

Environment

python2.7

Win7x64

Sample Site Setup

Wswp-places.zip in the book site source code
Frames used by the Web2py_src.zip site

1 Decompression Web2py_src.zip
2 then go to the Web2py/applications directory

3 Extract the Wswp-places.zip to the applications directory


4 return to the previous level directory, to the Web2py directory, double-click web2py.py, or execute command python web2py.py

If the admin password is set, the command Python web2py.py--password=<password> is used, and no password is set to default null


5 Browser Access Http://127.0.0.1:8000/places

The serious way in the book

Site source code hosted in Https://bitbucket.org/wswp/places

(When you register, you need to use your Google account.) Need to install Sourcetree)

Code uses WEB2PY frame to stand

This app relies on the web2py framework, which can was downloaded here and it documented here.
Http://web2py.com/init/default/download
Http://web2py.com/book

Installation steps

Text version for easy copying

In the shell the installation instructions is as follows:
# First Download web2py
wget Http://www.web2py.com/examples/static/web2py_src.zip
Unzip Web2py_src.zip
# now download the app
CD web2py/applications
HG Clone Ssh://[email Protected]/wswp/places
# now start the web2py server with a password for the admin interface
Cd..
Python web2py.py--password=<password>

The Places app can now is accessed in your Web browser at http://127.0.0.1:8000/places

"Writing web crawler with Python" example site building (frame + book pdf+ Chapter code)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.