Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 50 for compile (0.031 sec.)
正規表現 HOWTO — Python 3.6.5 ドキュメント 12648
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » 正規 ... メソッドを持っています。 >>> import re >>> p = re . compile ( 'ab*' ) >>> p re.compile('ab*') re.compile() はい ... にして、簡単な例をやることにしましょう: >>> p = re . compile ( 'ab*' , re . IGNORECASE ) 正規表現は文字列として ... re.compile() に渡されます。正規表現は文字列として扱われますが ... ection のような文字列となります。こうしてできた re.compile() に渡す文字列は \\section でなければいけません。し ...
https://man.plustar.jp/python/howto/regex.html - [similar]
32.11. compileall --- Python ライブラリをバイトコンパイル — Python 3.6.5 ドキュ... 12437
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... リ » 32. Python言語サービス » 32.11. compileall --- Python ライブラリをバイトコンパイル ¶ ソース ... コード: Lib/compileall.py このモジュールは、Python ライブラリのインスト ... ンドラインでの使用 ¶ このモジュールは、 ( python -m compileall を使って) Python ソースをコンパイルするスクリプ ... られた場合、 -l オプションは無視されます。 python -m compileall <directory> -r 0 は python -m compileall <direc ...
https://man.plustar.jp/python/library/compileall.html - [similar]
32.10. py_compile --- Python ソースファイルのコンパイル — Python 3.6.5 ドキュメ... 12437
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... リ » 32. Python言語サービス » 32.10. py_compile --- Python ソースファイルのコンパイル ¶ ソースコー ... ド: Lib/py_compile.py py_compile モジュールには、ソースファイルからバ ... いるときには、この関数は役に立ちます。 exception py_compile. PyCompileError ¶ ファイルをコンパイル中にエラーが ... 発生すると送出される例外。 py_compile. compile ( file , cfile=None , dfile=None , dorais ...
https://man.plustar.jp/python/library/py_compile.html - [similar]
32.1. parser --- Python 解析木にアクセスする — Python 3.6.5 ドキュメント 9775
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 関数が使われます。 parser. expr ( source ) ¶ まるで compile(source, 'file.py', 'eval') への入力であるかのように ... 外を発生させます。 parser. suite ( source ) ¶ まるで compile(source, 'file.py', 'exec') への入力であるかのように ... ると決めつけない方がよいでしょう。 ST オブジェクトが compilest() へ渡されたとき、コンパイルによって送出された通 ... たは省略された場合は、この情報は省かれます。 parser. compilest ( st , filename='<syntax-tree>' ) ¶ 組み込みの e ...
https://man.plustar.jp/python/library/parser.html - [similar]
27.4. Python プロファイラ — Python 3.6.5 ドキュメント 9249
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ます: import cProfile import re cProfile . run ( 're.compile("foo|bar")' ) (お使いのシステムで cProfile が使えな ... きは代わりに profile を使って下さい) 上のコードは re.compile() を実行して、プロファイル結果を次のように表示しま ... dule > ) 1 0.000 0.000 0.001 0.001 re . py : 212 ( compile ) 1 0.000 0.000 0.001 0.001 re . py : 268 ( _compi ... le ) 1 0.000 0.000 0.000 0.000 sre_compile . py : 172 ( _compile_charset ) 1 0.000 0.000 0.00 ...
https://man.plustar.jp/python/library/profile.html - [similar]
30.1. code --- インタプリタ基底クラス — Python 3.6.5 ドキュメント 9144
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ョン 3.6 で変更: exitmsg 引数が追加されました. code. compile_command ( source , filename="<input>" , symbol="si ... ドが完全で有効ならば、コードオブジェクトを返します( compile(source, filename, symbol) と同じ)。コマンドが完全で ... プリタ内のあるソースをコンパイルし実行します。引数は compile_command() のものと同じです。 filename のデフォルト ... いくつかのことが起きる可能性があります: 入力が不正。 compile_command() が例外( SyntaxError か OverflowError )を ...
https://man.plustar.jp/python/library/code.html - [similar]
30.2. codeop --- Pythonコードをコンパイルする — Python 3.6.5 ドキュメント 9038
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... を行う方法を提供します。 前者は実行するには: codeop. compile_command ( source , filename="<input>" , symbol="si ... すぐに、この挙動は修正されるでしょう。 class codeop. Compile ¶ このクラスのインスタンスは組み込み関数 compile() ... イルするという違いがあります。 class codeop. CommandCompiler ¶ このクラスのインスタンスは compile_command() と ...
https://man.plustar.jp/python/library/codeop.html - [similar]
6.2. re --- 正規表現操作 — Python 3.6.5 ドキュメント 8723
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... テンツ を参照してください。) これは、 flag 引数を re.compile() 関数に渡すのではなく、そのフラグを正規表現の一部 ... スである RegexFlag のインスタンスになりました、 re. compile ( pattern , flags=0 ) ¶ 正規表現パターンを 正規表現 ... 組み合わせることができます。 シーケンス prog = re . compile ( pattern ) result = prog . match ( string ) は、以 ... 、その式を一つのプログラムで何回も使う場合には、 re.compile() を使ってその結果の正規表現オブジェクトを再利用し ...
https://man.plustar.jp/python/library/re.html - [similar]
28.4. zipapp --- 実行可能な python zip 書庫を管理する — Python 3.6.5 ドキュメン... 8617
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... s is relatively easy, although it does require a C compiler. The basic approach relies on the fact that zipfi ... ecutable, and without it, a console executable. To compile the executable, you can either just use the standa ... advantage of the fact that distutils knows how to compile Python source: >>> from distutils.ccompiler import ... new_compiler >>> import distutils.sysconfig >>> import sys >>> ...
https://man.plustar.jp/python/library/zipapp.html - [similar]
32.2. ast --- 抽象構文木 — Python 3.6.5 ドキュメント 8196
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 木を作成するには、 ast.PyCF_ONLY_AST を組み込み関数 compile() のフラグとして渡すか、あるいはこのモジュールで提 ... ジェクトのツリーとなります。抽象構文木は組み込み関数 compile() を使って Python コード・オブジェクトにコンパイル ... は Python のリストで表されます。全ての属性は AST を compile() でコンパイルする際には存在しなければならず、そし ... ='exec' ) ¶ source を解析して AST ノードにします。 compile(source, filename, mode, ast.PyCF_ONLY_AST) と等価で ...
https://man.plustar.jp/python/library/ast.html - [similar]
PREV 1 2 3 4 5 NEXT