Python 3.6.5 ドキュメント 検索
Results of 91 - 100 of about 214 for file (0.106 sec.)
- 11. 標準ライブラリミニツアー --- その 2 — Python 3.6.5 ドキュメント 5043
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python チュートリア
...
のようになります: >>> import time , os.path >>> photofiles = [ 'img_1074.jpg' , 'img_1076.jpg' , 'img_1077.j...
date = time . strftime ( ' %d %b%y' ) >>> for i , filename in enumerate ( photofiles ): ... base , ext =...
os . path . splitext ( filename ) ... newname = t . substitute ( d = date , n...
, f = ext ) ... print ( ' {0} --> {1} ' . format ( filename , newname )) img_1074.jpg --> Ashley_0.jpg img...
- https://man.plustar.jp/python/tutorial/stdlib2.html - [similar]
- What's New in Python 2.2 — Python 3.6.5 ドキュメント 5043
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...
'123' ) 123 型の集合を完全にするために、 dict() や file() のような新しい型オブジェクトが追加されました。も...
ェクトに lock() メソッドを追加します: class LockableFile ( file ): def lock ( self , operation , length = 0...
= 0 ): import fcntl return fcntl . lockf ( self . fileno (), operation , length , start , whence ) 今は撤...
廃された posixfile モジュールにはファイルオブジェクトのメソッドを全て...
- https://man.plustar.jp/python/whatsnew/2.2.html - [similar]
- What's New In Python 3.2 — Python 3.6.5 ドキュメント 5043
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...
. get_config_var ( 'EXT_SUFFIX' ) # find the full filename extension '.cpython-32mu.so' 参考 PEP 3149 - A...
が出来ます。 A ResourceWarning is also issued when a file object is destroyed without having been explicitly...
e underlying operating system resource (usually, a file descriptor), the delay in deallocating the object...
") >>> del f __main__:1: ResourceWarning: unclosed file <_io.BufferedWriter name='foo'> (Added by Antoine...
- https://man.plustar.jp/python/whatsnew/3.2.html - [similar]
- 6.8. rlcompleter --- GNU readline向け補完関数 — Python 3.6.5 ドキュメント 5001
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
doc__ readline.get_line_buffer( readline.read_init_file( readline.__file__ readline.insert_text( readline....
- https://man.plustar.jp/python/library/rlcompleter.html - [similar]
- 20.7. xml.dom.minidom --- 最小限の DOM の実装 — Python 3.6.5 ドキュメント 5001
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
arse ( 'c: \\ temp \\ mydata.xml' ) # parse an XML file by name datasource = open ( 'c: \\ temp \\ mydata....
xml' ) dom2 = parse ( datasource ) # parse an open file dom3 = parseString ( '<myxml>Some data<empty/> som...
引数にとることができます。 xml.dom.minidom. parse ( filename_or_file , parser=None , bufsize=None ) ¶ 与えら...
れた入力から Document を返します。 filename_or_file はファイル名でもファイルオブジェクトで...
- https://man.plustar.jp/python/library/xml.dom.minidom.html - [similar]
- What's New in Python 2.5 — Python 3.6.5 ドキュメント 5001
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...
nt it . next () Traceback (most recent call last): File "t.py" , line 15 , in ? print it . next () StopIte...
オブジェクトと同じです。これはファイルオブジェクトの file.__enter__() が self を返しているからです。 threadi...
( '://' ) ('http', '://', 'www.python.org') >>> ( 'file:/usr/share/doc/index.html' ) . partition ( '://' )...
('file:/usr/share/doc/index.html', '', '') >>> ( u 'Subje...
- https://man.plustar.jp/python/whatsnew/2.5.html - [similar]
- 6.3. difflib --- 差分の計算を助ける — Python 3.6.5 ドキュメント 4959
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
きます。ディレクトリやファイル群を比較するためには、 filecmp モジュールも参照してください。 class difflib. S...
さい。 以下のメソッドが public になっています: make_file ( fromlines , tolines , fromdesc='' , todesc='' ,...
ブルを文字列で返します。 このメソッドの引数は、 make_file() メソッドの引数と同じです。 Tools/scripts/diff.py...
が入っています。 difflib. context_diff ( a , b , fromfile='' , tofile='' , fromfiledate='' , tofiledate='' ,...
- https://man.plustar.jp/python/library/difflib.html - [similar]
- 19.1.15. email.iterators: イテレータ — Python 3.6.5 ドキュメント 4959
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
cture. For example: >>> msg = email . message_from_file ( somefile ) >>> _structure ( msg ) multipart/mixe...
sage/rfc822 text/plain text/plain Optional fp is a file-like object to print the output to. It must be sui...
- https://man.plustar.jp/python/library/email.iterators.html - [similar]
- 11.9. linecache --- テキストラインにランダムアクセスする — Python 3.6.5 ドキュ... 4959
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
では次の関数が定義されています: linecache. getline ( filename , lineno , module_globals=None ) ¶ filename と...
ます (行末の改行文字は、見つかった行に含まれます)。 filename という名前のファイルが見つからなかった場合、モ...
の、つまり、 sys.path でそのファイルを探します。 zipfileやその他のファイルシステムでないimport元に対応するた...
、この関数を使ってください。 linecache. checkcache ( filename=None ) ¶ キャッシュが有効かどうかを確認します。...
- https://man.plustar.jp/python/library/linecache.html - [similar]
- 21.4. wsgiref --- WSGI ユーティリティとリファレンス実装 — Python 3.6.5 ドキュメ... 4959
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
ヘッダの場合に true を返します。 class wsgiref.util. FileWrapper ( filelike , blksize=8192 ) ¶ ファイル風オブ...
される間、オプションの blksize パラメータがくり返し filelike オブジェクトの read() メソッドに渡されて受け渡...
イテレーションは終了して再開されることはありません。 filelike に close() メソッドがある場合、返されたオブジェ...
トも close() メソッドを持ち、これが呼ばれた場合には filelike オブジェクトの close() メソッドを呼び出します。...
- https://man.plustar.jp/python/library/wsgiref.html - [similar]