Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 111 - 120 of about 214 for file (0.038 sec.)
1. C や C++ による Python の拡張 — Python 3.6.5 ドキュメント 4832
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python インタプリタ ... kily, this is very simple on Unix: just place your file ( spammodule.c for example) in the Modules/ direct ... an unpacked source distribution, add a line to the file Modules/Setup.local describing your file: spam spa ... トリでも make を実行できますが、前もって ' make Makefile' を実行して Makefile を再ビルドしておかなければなら ... ese can be listed on the line in the configuration file as well, for instance: spam spammodule.o -lX11 1.6 ...
https://man.plustar.jp/python/extending/extending.html - [similar]
Argparse チュートリアル — Python 3.6.5 ドキュメント 4832
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Argp ... -function.patch $ ls --help Usage: ls [OPTION]... [FILE]... List information about the FILEs (the current ... thon3 prog.py 4 Traceback (most recent call last): File "prog.py", line 5, in <module> print(args.square** ... thon3 prog.py 4 Traceback (most recent call last): File "prog.py", line 11, in <module> if args.verbosity ... osity >= 2 : print ( "Running ' {} '" . format ( __file__ )) if args . verbosity >= 1 : print ( " {} ^ {} ...
https://man.plustar.jp/python/howto/argparse.html - [similar]
関数型プログラミング HOWTO — Python 3.6.5 ドキュメント 4832
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » 関数 ... >>> next ( it ) Traceback (most recent call last): File "<stdin>" , line 1 , in <module> StopIteration >>> ... の各行を読んでいくことができるわけです: for line in file : # do something for each line ... セットはイテラブ ... >> next ( gen ) Traceback (most recent call last): File "stdin" , line 1 , in <module> File "stdin" , line ... #doctest: +SKIP Traceback (most recent call last): File "t.py" , line 15 , in <module> it . next () StopIt ...
https://man.plustar.jp/python/howto/functional.html - [similar]
14.1. csv --- CSV ファイルの読み書き — Python 3.6.5 ドキュメント 4832
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 式で読み書きすることもできます。 参考 PEP 305 - CSV File API Python へのこのモジュールの追加を提案している ... ールでは以下の関数を定義しています: csv. reader ( csvfile , dialect='excel' , **fmtparams ) ¶ 与えられた csv ... 復処理するような reader オブジェクトを返します。 csvfile はイテレータ( iterator )プロトコルをサポートし、 _ ... ファイルオブジェクト でもリストでも構いません。 csvfile がファイルオブジェクトの場合、 newline='' として開 ...
https://man.plustar.jp/python/library/csv.html - [similar]
29.12. inspect --- 活動中のオブジェクトの情報を取得する — Python 3.6.5 ドキュメ... 4832
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 属性 説明 モジュール __doc__ ドキュメント文字列 __file__ ファイル名 (組み込みモジュールには存在しません) ... consts バイトコード中で使用している定数のタプル co_filename コードオブジェクトを生成したファイルのファイル ... ath ) ¶ Return the name of the module named by the file path , without including the names of enclosing pa ... ckages. The file extension is checked against all of the entries in ...
https://man.plustar.jp/python/library/inspect.html - [similar]
19.4. mailbox --- 様々な形式のメールボックス操作 — Python 3.6.5 ドキュメント 4832
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 処理されて7ビットクリーンな表現へ変換されます。 get_file ( key ) ¶ key に対応するメッセージの表現をファイル ... ポートしませんので、このメソッドは何もしません。 get_file ( key ) ¶ ホストのプラットフォームによっては、返さ ... のいくつかのメソッドには特別な注意が必要です: get_file ( key ) ¶ mbox インスタンスに対し flush() や close ... 。特に、 mh が状態と設定を保存する context や .mh_profile といったファイルは書き換えませんし影響も受けません ...
https://man.plustar.jp/python/library/mailbox.html - [similar]
18.1. socket --- 低水準ネットワークインターフェイス — Python 3.6.5 ドキュメント 4832
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... を避ける事ができます)。 参考 より完全な説明は Secure File Descriptor Handling を参照してください。 利用できる ... et ( family=AF_INET , type=SOCK_STREAM , proto=0 , fileno=None ) ¶ アドレスファミリー、ソケットタイプ、プロ ... には CAN_RAW か CAN_BCM のいずれかを指定すべきです。 fileno を指定した場合、別の引数が無視されるため、指定さ ... れたファイル記述子のソケットが返ります。 fileno は、 socket.fromfd() とは異なり、ソケットの複製で ...
https://man.plustar.jp/python/library/socket.html - [similar]
7. 単純文 (simple statement) — Python 3.6.5 ドキュメント 4832
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 言語リファレ ... ) from exc ... Traceback (most recent call last): File "<stdin>" , line 2 , in <module> ZeroDivisionError ... wing exception: Traceback (most recent call last): File "<stdin>" , line 4 , in <module> RuntimeError : So ... happened" ) ... Traceback (most recent call last): File "<stdin>" , line 2 , in <module> ZeroDivisionError ... ption occurred: Traceback (most recent call last): File "<stdin>" , line 4 , in <module> RuntimeError : So ...
https://man.plustar.jp/python/reference/simple_stmts.html - [similar]
モジュールのインポート — Python 3.6.5 ドキュメント 4790
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... 定されていれば) それに設定され、そうでなければ SourceFileLoader のインスタンスに設定されます。 モジュールの ... __file__ 属性はコードオブジェクトの co_filename へ設定され ... ame が NULL でない場合にモジュールオブジェクトの __file__ 属性に pathname が設定される点が異なります。 PyI ... 。) バージョン 3.3 で追加. バージョン 3.4 で変更: __file__ 属性はもうモジュールにセットされません。 int PyI ...
https://man.plustar.jp/python/c-api/import.html - [similar]
デザインと歴史 FAQ — Python 3.6.5 ドキュメント 4790
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python よくある質問 ... く、ファイルディスクリプタを使い果たすでしょう: for file in very_long_list_of_files : f = open ( file ) c = ... 。これでメモリ管理のスキームに関係なく動きます: for file in very_long_list_of_files : with open ( file ) as ... 付けることを憶えておいてください: f = open ( "/mydir/file.txt" ) # works fine! DOS コマンドのパス名を構築する ...
https://man.plustar.jp/python/faq/design.html - [similar]