Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
nargsの意味・使い方・読み方 | Weblio英和辞書
[go: Go Back, main page]


小窓モード


プレミアム

ログイン
設定

設定

nargsとは 意味・読み方・使い方

ピン留め

追加できません

(登録数上限)

単語を追加

Wiktionary英語版での「nargs」の意味

nargs

出典:『Wiktionary』 (2012/06/10 00:03 UTC 版)

名詞

nargs

  1. Plural form of narg.

「nargs」を含む例文一覧

該当件数 : 7



例文

If nargs 1, value will be a tuple of values ofthe appropriate type.発音を聞く 例文帳に追加

"nargs" 1 であれば、value はは適切な型をもつ値のタプルになります。 - Python

If nargs 1, multiple arguments are consumed, and a tuple of length nargs is appended to dest.The defaults for type and dest are the same as for the store action.Example:例文帳に追加

nargs 1 の場合、複数の引数をコマンドラインから取り出し、長さ nargs のタプルを生成して destに追加します。 type および dest のデフォルト値は store アクションと同じです。 - Python

append [relevant: type, dest, nargs, choices]The option must be followed by an argument, which is appended to the list in dest.例文帳に追加

append [relevant: type, dest, nargs, choices]このオプションの後ろには必ず引数が続きます。 引数はdest のリストに追加されます。 - Python

store [relevant: type, dest, nargs, choices]The option must be followed by an argument, which is converted to a value according to type and stored in dest.例文帳に追加

store [relevant: type, dest, nargs, choices]オプションの後には必ず引数が続きます。 引数はtype に従った値に変換されてdest に保存されます。 - Python

also has its usual meaning: if it is supplied and 1, optparse will consume nargs arguments, each of which must be convertible to type.例文帳に追加

これも他で使われているのと同じ意味です: このオプションが指定されていて、かつ nargs 1 である場合、 optparseはnargs 個の引数を消費します。 このとき各引数は type 型に変換できねばなりません。 - Python

Specifying that a callback option takes arguments is similar to defining a store or append option: if you define type, then the option takes one argument that must be convertible to that type; if you further define nargs, then the option takes nargs arguments.例文帳に追加

引数をとるようコールバックに指定するのは、store やappend オプションの定義に似ています: type を定義していれば、そのオプションは引数を受け取ったときに該当する型に変換できねばなりません;さらに nargs を指定すれば、オプションは nargs 個の引数を受け取ります。 - Python

例文

If nargs 1, multiple arguments will be consumed from the command line; all will be converted according to type and stored to dest as a tuple.例文帳に追加

nargs 1 の場合、複数の引数をコマンドラインから取り出します; 引数は全て type に従って変換され、dest にタプルとして保存されます。 - Python

>>例文の一覧を見る

調べた例文を記録して、 効率よく覚えましょう
Weblio会員登録無料で登録できます!
  • 履歴機能
    履歴機能
    過去に調べた
    単語を確認!
  • 語彙力診断
    語彙力診断
    診断回数が
    増える!
  • マイ単語帳
    マイ単語帳
    便利な
    学習機能付き!
  • マイ例文帳
    マイ例文帳
    文章で
    単語を理解!
  • その他にも便利な機能が満載!
Weblio会員登録(無料)はこちらから
「nargs」の意味に関連した用語
1
grans Wiktionary英語版

2
NARG Wiktionary英語版

nargsのページの著作権
英和・和英辞典 情報提供元は 参加元一覧 にて確認できます。

   
Text is available under Creative Commons Attribution-ShareAlike (CC-BY-SA) and/or GNU Free Documentation License (GFDL).
Weblio英和・和英辞典に掲載されている「Wiktionary英語版」の記事は、Wiktionaryのnargs (改訂履歴)の記事を複製、再配布したものにあたり、Creative Commons Attribution-ShareAlike (CC-BY-SA)もしくはGNU Free Documentation Licenseというライセンスの下で提供されています。

ピン留めアイコンをクリックすると単語とその意味を画面の右側に残しておくことができます。

こんにちは ゲスト さん

ログイン

Weblio会員(無料)になると

会員登録のメリット検索履歴を保存できる!

会員登録のメリット語彙力診断の実施回数増加!

無料会員に登録する

このモジュールを今後表示しない
みんなの検索ランキング
閲覧履歴
無料会員登録をすると、
単語の閲覧履歴を
確認できます。
無料会員に登録する
英→日 日→英
こんにちは ゲスト さん

ログイン

Weblio会員(無料)になると

会員登録のメリット検索履歴を保存できる!

会員登録のメリット語彙力診断の実施回数増加!

無料会員に登録する

©2026 GRAS Group, Inc.RSS