Python 3.6.5 ドキュメント 検索
Results of 101 - 110 of about 214 for FILE (0.055 sec.)
- 20.5. xml.etree.ElementTree --- ElementTree XML API — Python 3.6.5 ドキュメント 4959
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
データを含むファイル名またはファイル風オブジェクト ( file object ) です。 events は報告すべきイベントのシーケ...
ml.etree.ElementTree. ElementTree ( element=None , file=None ) ¶ ElementTree ラッパークラスです。このクラス...
の相互変換を追加しています。 element は根要素です。 file が指定されている場合、その XML ファイルの内容により...
ーザが使用されます。断片の根要素を返します。 write ( file , encoding="us-ascii" , xml_declaration=None , def...
- https://man.plustar.jp/python/library/xml.etree.elementtree.html - [similar]
- Windows 上の Python FAQ — Python 3.6.5 ドキュメント 4916
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python よくある質問
...
nal or external command, operable program or batch file. Adding Python to DOS Path Python はデフォルトでは...
を加えられるようにします。 もしくは: Bad command or filename が現れたなら、コンピュータが Python インタプリ...
ストーラはすでに .py 拡張子をあるファイル型 (Python.File) に関連付け、そのファイル型にインタプリタを実行する...
オープンコマンド ( D:\Program Files\Python\python.exe "%1" %* ) を与えます。コマンドプ...
- https://man.plustar.jp/python/faq/windows.html - [similar]
- 19.1.4. email.policy: ポリシーオブジェクト — Python 3.6.5 ドキュメント 4916
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
code could be used to read an email message from a file on disk and pass it to the system sendmail program...
system: >>> from email import message_from_binary_file >>> from email.generator import BytesGenerator >>>...
txt' , 'rb' ) as f : ... msg = message_from_binary_file ( f , policy = policy . default ) >>> p = Popen ([...
m the previous example and writes the message to a file using the native line separators for the platform...
- https://man.plustar.jp/python/library/email.policy.html - [similar]
- 32.1. parser --- Python 解析木にアクセスする — Python 3.6.5 ドキュメント 4916
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
parser. expr ( source ) ¶ まるで compile(source, 'file.py', 'eval') への入力であるかのように、 expr() 関数...
parser. suite ( source ) ¶ まるで compile(source, 'file.py', 'exec') への入力であるかのように、 suite() 関...
は、この情報は省かれます。 parser. compilest ( st , filename='<syntax-tree>' ) ¶ 組み込みの exec() や eval(...
。この関数はコンパイラへのインターフェイスを提供し、 filename パラメータで指定されるソースファイル名を使って...
- https://man.plustar.jp/python/library/parser.html - [similar]
- 35.8. pty --- 擬似端末ユーティリティ — Python 3.6.5 ドキュメント 4916
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
, action = 'store_true' ) parser . add_argument ( 'filename' , nargs = '?' , default = 'typescript' ) opti...
_python else os . environ . get ( 'SHELL' , 'sh' ) filename = options . filename mode = 'ab' if options ....
append else 'wb' with open ( filename , mode ) as script : def read ( fd ): data = o...
rite ( data ) return data print ( 'Script started, file is' , filename ) script . write (( 'Script started...
- https://man.plustar.jp/python/library/pty.html - [similar]
- What's New In Python 3.3 — Python 3.6.5 ドキュメント 4916
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...
BlockingIOError ChildProcessError ConnectionError FileExistsError FileNotFoundError InterruptedError IsAD...
: if err . errno == ENOENT : print ( "document.txt file is missing" ) elif err . errno in ( EACCES , EPERM...
ocument.txt" ) as f : content = f . read () except FileNotFoundError : print ( "document.txt file is missi...
>>> D ({}) . x Traceback (most recent call last): File "<stdin>" , line 1 , in <module> File "<stdin>" ,...
- https://man.plustar.jp/python/whatsnew/3.3.html - [similar]
- 26.3. doctest --- 対話的な実行例をテストする — Python 3.6.5 ドキュメント 4874
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
ル中にある対話実行例に対するテストです。これには testfile() 関数を使います: import doctest doctest . testfil...
rial`` ------------------- This is an example text file in reStructuredText format. First import ``factori...
orial Now use it: >>> factorial(6) 120 doctest.testfile("example.txt") を実行すると、このドキュメント内のエ...
ラーを見つけ出します: File "./example.txt" , line 14 , in example . txt Faile...
- https://man.plustar.jp/python/library/doctest.html - [similar]
- 35.10. pipes --- シェルパイプラインへのインタフェース — Python 3.6.5 ドキュメン... 4874
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
nd ( 'tr a-z A-Z' , '--' ) >>> f = t . open ( 'pipefile' , 'w' ) >>> f . write ( 'hello world' ) >>> f . c...
lose () >>> open ( 'pipefile' ) . read () 'HELLO WORLD' 35.10.1. テンプレートオ...
ては append() を参照してください。 Template. open ( file , mode ) ¶ ファイル類似のオブジェクトを返します。こ...
のオブジェクトは file を開いていますが、パイプラインを通して読み書きする...
- https://man.plustar.jp/python/library/pipes.html - [similar]
- 16.14. platform --- 実行中プラットフォームの固有情報を参照する — Python 3.6.5 ... 4874
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
of(long) ) が使用されます。 この関数は、システムの file コマンドを使用します。 file はほとんどのUnixプラッ...
ームと一部の非Unixプラットフォームで利用可能ですが、 file コマンドが利用できず、かつ executable が Pythonイン...
- https://man.plustar.jp/python/library/platform.html - [similar]
- 4. その他の制御フローツール — Python 3.6.5 ドキュメント 4874
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python チュートリア
...
オプション引数を与える: ask_ok('OK to overwrite the file?', 2) 全ての引数を与える: ask_ok('OK to overwrite...
the file?', 2, 'Come on, only yes or no!') この例では in キ...
n ( 0 , a = 0 ) Traceback (most recent call last): File "<stdin>" , line 1 , in <module> TypeError : funct...
数があっても構いません。 def write_multiple_items ( file , separator , * args ): file . write ( separator ....
- https://man.plustar.jp/python/tutorial/controlflow.html - [similar]