Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 1 - 8 of about 8 for foobar (0.023 sec.)
7. 使用例 — Python 3.6.5 ドキュメント 13772
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python モジュールの ... す from distutils.core import setup setup ( name = 'foobar' , version = '1.0' , py_modules = [ 'foo' , 'bar' ... は from distutils.core import setup setup ( name = 'foobar' , version = '1.0' , packages = [ '' ], ) のように ... : from distutils.core import setup setup ( name = 'foobar' , version = '1.0' , package_dir = { '' : 'src' }, ... でしょう。例えば、 foo と bar モジュールがパッケージ foobar に属する場合、ソースツリーをレイアウトする一案とし ...
https://man.plustar.jp/python/distutils/examples.html - [similar]
11.8. fnmatch --- Unix ファイル名のパターンマッチ — Python 3.6.5 ドキュメント 8856
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... eobj = re . compile ( regex ) >>> reobj . match ( 'foobar.txt' ) <_sre.SRE_Match object; span=(0, 10), match ... ='foobar.txt'> 参考 glob モジュール Unix シェル形式のパス展 ...
https://man.plustar.jp/python/library/fnmatch.html - [similar]
2. 組み込み関数 — Python 3.6.5 ドキュメント 8567
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ら、指名された属性を削除します。例えば、 delattr(x, 'foobar') は del x.foobar と等価です。 class dict ( **kwar ... 戻り値はその属性の値になります。例えば、 getattr(x, 'foobar') は x.foobar と等価です。指名された属性が存在しな ... 許せば、値を属性に関連付けます。例えば、 setattr(x, 'foobar', 123) は x.foobar = 123 と等価です。 class slice ...
https://man.plustar.jp/python/library/functions.html - [similar]
26.6. unittest.mock --- 入門 — Python 3.6.5 ドキュメント 8260
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ): ... response = self . backend . get_endpoint ( 'foobar' ) . create_call ( 'spam' , 'eggs' ) . start_call ... ことができます: >>> chained = call . get_endpoint ( 'foobar' ) . create_call ( 'spam' , 'eggs' ) . start_call ...
https://man.plustar.jp/python/library/unittest.mock-examples.html - [similar]
プログラミング FAQ — Python 3.6.5 ドキュメント 8205
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python よくある質問 ... で外のスコープにアクセスできます: >>> x = 10 >>> def foobar (): ... global x ... print ( x ) ... x += 1 >>> fo ...
https://man.plustar.jp/python/faq/programming.html - [similar]
16.4. argparse --- コマンドラインオプション、引数、サブコマンドのパーサー — Pyt... 8205
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ow_abbrev = False ) >>> parser . add_argument ( '--foobar' , action = 'store_true' ) >>> parser . add_argume ... er . parse_args ([ '--foon' ]) usage: PROG [-h] [--foobar] [--foonley] PROG: error: unrecognized arguments: ... arser . print_help () usage: PROG [-h] [-x X X] [--foo bar baz] optional arguments: -h, --help show this hel ... p message and exit -x X X --foo bar baz 16.4.3.11. dest ¶ ほとんどの ArgumentParser の ...
https://man.plustar.jp/python/library/argparse.html - [similar]
6.2. re --- 正規表現操作 — Python 3.6.5 ドキュメント 8205
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 改行の直前にマッチします。例えば、 foo は 'foo' と 'foobar' の両方にマッチします。一方、正規表現 foo$ は 'foo ... oo.' , '(foo)' , 'bar foo baz' にマッチしますが、 'foobar' , 'foo3' にはマッチしません。 By default Unicode ...
https://man.plustar.jp/python/library/re.html - [similar]
36.1. optparse --- コマンドラインオプション解析器 — Python 3.6.5 ドキュメント 8151
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... を考えてみましょう: prog - v -- report report . txt foo bar -v と --report はどちらもオプションです。 --repor ... のオプション文字列となります --- 例えば、ユーザが --foobar の短縮形として --foo をコマンドラインに入力した時に ... は、 opt_str は "--foobar" となります。) value オプションの引数で、コマンドラ ...
https://man.plustar.jp/python/library/optparse.html - [similar]
PREV 1 NEXT