Googlesearch をインストール » 履歴 » バージョン 1
みぞ @mizo0203, 2018/07/30 23:33
| 1 | 1 | みぞ @mizo0203 | # Googlesearch をインストール |
|---|---|---|---|
| 2 | |||
| 3 | ``` |
||
| 4 | $ pip install -t lib/ google |
||
| 5 | Collecting google |
||
| 6 | Collecting beautifulsoup4 (from google) |
||
| 7 | Using cached https://files.pythonhosted.org/packages/41/ed/61e49b5e4fe12b5ad111a6400683b18769289019b8685df94eb3484ac26f/beautifulsoup4-4.6.1-py2-none-any.whl |
||
| 8 | Installing collected packages: beautifulsoup4, google |
||
| 9 | Successfully installed beautifulsoup4-4.6.1 google-2.0.1 |
||
| 10 | ``` |
||
| 11 | |||
| 12 | appengine_config.py: |
||
| 13 | |||
| 14 | ``` |
||
| 15 | import os |
||
| 16 | |||
| 17 | # appengine_config.py |
||
| 18 | from google.appengine.ext import vendor |
||
| 19 | |||
| 20 | # Add any libraries install in the "lib" folder. |
||
| 21 | vendor.add(os.path.join(os.path.dirname(os.path.realpath(__file__)), 'lib')) |
||
| 22 | ``` |
||
| 23 | |||
| 24 | ## 参考サイト |
||
| 25 | |||
| 26 | * https://cloud.google.com/appengine/docs/standard/python/tools/using-libraries-python-27?hl=ja |
||
| 27 | * https://qiita.com/code_monkey/items/0d38a92a2a2026f5ec82 |
||
| 28 | * https://github.com/MarioVilas/googlesearch |