LoginSignup
0
0

Python 学習1日目

Posted at

・ullib.parseモジュール
https://docs.python.org/ja/3/library/urllib.parse.html
上記URLの説明では、urlを解析して構成要素にするとある。

getリクエスト
getリクエストでパラメーターを送信するときは以下の書式になる
"https://example.com?key1=v1&key2=v2&key3=v3.......

len()
len関数は()内に指定したオブジェクトの長さや要素の数を取得する。
例)len(oppai)

5

sysモジュール
コマンドライン引数を指定したい時に使用する
 コマンドライン引数:コマンドプロンプトの画面で入力する引数

プログラムを中断するときは
処理を終了したい時の関数はexit()もしくはquit()を使用する

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0