Skip to content

Commit

Permalink
#6 細かい部分を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
Akira-Taniguchi committed May 20, 2016
1 parent 7c8b98e commit dfea902
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/5_scraping.rst
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,14 @@ Pythonを使って実行することができますので、これを機に習
* 「json.dump」って何?
指定されたオブジェクトをJSON文字列に変換することができます。

この場合、オブジェクト(data)を指定したファイル(--outputオプションの後に指定したファイル)に保存します。
この場合、オブジェクト(data)を指定したファイル(--outputオプション)に保存します。


実行してみよう
==========
simple.py --output output.json


実行したら、output.jsonが作成されていますので、中身を参照してみてください。

pypiの情報がまとめて保存されていることがわかります。
Expand Down

0 comments on commit dfea902

Please sign in to comment.