Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 71 - 80 of about 125 for read (0.104 sec.)
3. Defining Extension Types: Assorted Topics — Python 3.6.5 ドキュメント 5627
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python インタプリタ ... ょうか? それが満たすべき条件はごくわずかです: PyType_Ready() が呼ばれたとき、すでに属性の名前がわかっているこ ... 約を課すものではないことに注意してください。 PyType_Ready() が呼ばれると、これはそのタイプオブジェクトに参照 ... ットごとの OR を取って組み合わせられます。 定数 意味 READONLY 絶対に変更できない。 READ_RESTRICTED 制限モード ... bject * v ) { PyErr_Format ( PyExc_RuntimeError , "Read-only attribute: %s" , name ); return -1 ; } 3.4. オ ...
https://man.plustar.jp/python/extending/newtypes.html - [similar]
Python 2 から Python 3 への移植 — Python 3.6.5 ドキュメント 5627
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Pyth ... de when opening a binary file (e.g., rb for binary reading). Under Python 3, binary files and text files a ... used for binary access (allowing binary data to be read and/or written) or textual access (allowing text d ... ata to be read and/or written). You should also use io.open() for ...
https://man.plustar.jp/python/howto/pyporting.html - [similar]
10. 完全な文法仕様 — Python 3.6.5 ドキュメント 5627
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 言語リファレ ... ; # file_input is a module or sequence of commands read from an input file; # eval_input is the input for ...
https://man.plustar.jp/python/reference/grammar.html - [similar]
What's New in Python 2.3 — Python 3.6.5 ドキュメント 5627
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... e -------- ---- ---- ---- 8467 11-26-02 22:30 jwzthreading.py -------- ------- 8467 1 file amk@nyman:~/src ... ) # Add .zip file to front of path >>> import jwzthreading >>> jwzthreading.__file__ '/tmp/example.zip/jwz ... threading.py' >>> sys.path には今や ZIP 書庫のファイル名も ... ードを使った読み込みとしてファイルを開きます。これで read() , readline() などのファイルメソッドが、 3 つどの ...
https://man.plustar.jp/python/whatsnew/2.3.html - [similar]
What's New In Python 3.6 — Python 3.6.5 ドキュメント 5627
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... > import pathlib >>> with open ( pathlib . Path ( "README" )) as f : ... contents = f . read () ... >>> im ... ccept all Unicode characters and provide correctly read str objects to Python code. sys.stdin , sys.stdout ... tal Python error : bad trailing pad byte Current thread 0x00007fbcdbd32700 ( most recent call first ): Fil ... イベントループに送信するための新たな run_coroutine_threadsafe() 関数。 (Contributed by Vincent Michel.) New ...
https://man.plustar.jp/python/whatsnew/3.6.html - [similar]
6. Python Package Index (PyPI) — Python 3.6.5 ドキュメント 5553
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python モジュールの ... ます: from distutils.core import setup with open ( 'README.txt' ) as file : long_description = file . read ... long_description = long_description ) この例では、 README.txt は通常の reStructuredText テキストファイルで ...
https://man.plustar.jp/python/distutils/packageindex.html - [similar]
デザインと歴史 FAQ — Python 3.6.5 ドキュメント 5553
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python よくある質問 ... C のこの慣用句を使いたいと訴えます: while ( line = readline ( f )) { // do something with line } Python で ... こう書かなくてはなりません: while True : line = f . readline () if not line : break ... # do something with ... e True" を使う方法に劣ることが多いです: line = f . readline () while line : ... # do something with line.. ... . line = f . readline () この方法の問題は、次の行を取得する方法を変え ...
https://man.plustar.jp/python/faq/design.html - [similar]
Argument Clinic How-To — Python 3.6.5 ドキュメント 5553
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Argu ... Clinic processes your file without complaint. For readability, most of the glue code has been generated t ... e reasons: The proper converters are far easier to read and clearer in their intent. There are some format ... its you skipped for your first time because they were advanced? Here's how to handle those too. The trick ... ou wish to write your own return converter, please read Tools/clinic/clinic.py , specifically the implemen ...
https://man.plustar.jp/python/howto/clinic.html - [similar]
DTrace と SystemTap で CPython を測定する — Python 3.6.5 ドキュメント 5553
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » DTra ... seeing if it contains a ".note.stapsdt" section. $ readelf -S ./python | grep .note.stapsdt [30] .note.sta ... の中を覗く必要があります。 例えば次のようにします: $ readelf -S libpython3.3dm.so.1.0 | grep .note.stapsdt [ ... tapsdt NOTE 0000000000000000 00365b68 十分に新しい readelf ではメタデータを出力できます: $ readelf -n ./py ... ; lineno = $arg3; printf("%s => %s in %s:%d\\n", thread_indent(1), funcname, filename, lineno); } probe pr ...
https://man.plustar.jp/python/howto/instrumentation.html - [similar]
Logging クックブック — Python 3.6.5 ドキュメント 5553
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Logg ... ッドからのロギングの例です: import logging import threading import time def worker ( arg ): while not arg [ ... ging . DEBUG , format = ' %(relativeCreated)6d %(threadName)s %(message)s ' ) info = { 'stop' : False } th ... read = threading . Thread ( target = worker , args = ( info ,)) ... thread . start () while True : try : logging . debug ( 'H ...
https://man.plustar.jp/python/howto/logging-cookbook.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 12 13 NEXT