Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 151 - 160 of about 214 for file (0.186 sec.)
ファイルオブジェクト — Python 3.6.5 ドキュメント 4632
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... C ライブラリでサポートされているバッファ付き I/O ( FILE* ) に頼るために使われます。 Python 3 では、ファイル ... ドは代わりに io の API を使うことが推奨されます。 PyFile_FromFd ( int fd , const char *name , const char *m ... ジョン 3.2 で変更: name 属性の無視。 int PyObject_AsFileDescriptor ( PyObject *p ) ¶ p に関連づけられる ファ ... 、その値を返します。 整数でない場合、オブジェクトに fileno() メソッドがあれば呼び出します; このメソッドの返 ...
https://man.plustar.jp/python/c-api/file.html - [similar]
モジュールオブジェクト (module object) — Python 3.6.5 ドキュメント 4632
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... 値が入っています ( __name__ 以外は全て None です); __file__ 属性に値を入れるのは呼び出し側の責任です。 バージ ... った場合は NULL を返します。 PyObject * PyModule_GetFilenameObject ( PyObject *module ) ¶ module の __file_ ... 返します。 バージョン 3.2 で追加. char* PyModule_GetFilename ( PyObject *module ) ¶ PyModule_GetFilenameObj ... 名を返します。 バージョン 3.2 で非推奨: PyModule_GetFilename() はエンコードできないファイル名に対しては Uni ...
https://man.plustar.jp/python/c-api/module.html - [similar]
5. ビルド済み配布物を作成する — Python 3.6.5 ドキュメント 4632
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python モジュールの ... リティが必要です。 外部ユーティリティの zip か、 zipfile モジュール (Python 1.6 からは標準 Python ライブラリ ... 方法です --- setup 設定ファイル (setup configuration file) を書く を参照してください。多くの Python モジュー ... 用することができます。 directory_created ( path ) ¶ file_created ( path ) ¶ これらの関数は、インストール後実 ... ください。 create_shortcut ( target , description , filename [ , arguments [ , workdir [ , iconpath [ , ico ...
https://man.plustar.jp/python/distutils/builtdist.html - [similar]
2. 拡張の型の定義: チュートリアル — Python 3.6.5 ドキュメント 4632
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python インタプリタ ... tom . Custom () Traceback (most recent call last): File "<stdin>" , line 1 , in <module> TypeError : can o ... python setup.py build at a shell should produce a file custom.so in a subdirectory; move to that director ... TypeObject struct. Finally, we update our setup.py file to build the new module: from distutils.core impor ...
https://man.plustar.jp/python/extending/newtypes_tutorial.html - [similar]
18.5.1. 基底イベントループ — Python 3.6.5 ドキュメント 4632
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ils import socketpair # Create a pair of connected file descriptors rsock , wsock = socketpair () loop = a ... , data . decode ()) # We are done: unregister the file descriptor loop . remove_reader ( rsock ) # Stop t ... he event loop loop . stop () # Register the file descriptor for read event loop . add_reader ( rsoc ...
https://man.plustar.jp/python/library/asyncio-eventloop.html - [similar]
17.2. multiprocessing --- プロセスベースの並列処理 — Python 3.6.5 ドキュメント 4632
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... umerate() , threading.settrace() , threading.setprofile() , threading.Timer や threading.local のような関数 ... の相手側でクローズされた場合 EOFError が発生します。 fileno ( ) ¶ コネクションが使用するハンドラーか、ファイ ... family が 'AF_UNIX' で address が None の場合 tempfile.mkstemp() を使用して作成されたプライベートな一時デ ... ンドルか、ソケットハンドルまたはパイプハンドルを返す fileno() メソッドを持つオブジェクトのどちらかでなければ ...
https://man.plustar.jp/python/library/multiprocessing.html - [similar]
14.3. netrc --- netrc ファイルの処理 — Python 3.6.5 ドキュメント 4632
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... セル化 (encapsulate) します。 class netrc. netrc ( [ file ] ) ¶ netrc のインスタンスやサブクラスのインスタン ... 数を持っています: msg はテキストによるエラーの説明、 filename はソースファイルの名前、そして lineno はエラー ...
https://man.plustar.jp/python/library/netrc.html - [similar]
11.2. os.path --- 共通のパス名操作 — Python 3.6.5 ドキュメント 4632
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... レクトリから探します。 Windows では、 HOME と USERPROFILE が設定されていればそれを使用します。設定されていな ... e object を受け入れるようになりました。 os.path. isfile ( path ) ¶ Return True if path is an existing regu ... lar file. This follows symbolic links, so both islink() and ... isfile() can be true for the same path. バージョン 3.6 で ...
https://man.plustar.jp/python/library/os.path.html - [similar]
12.6. sqlite3 --- SQLite データベースに対する DB-API 2.0 インタフェース — Pytho... 4632
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... くには、次のようにします: db = sqlite3 . connect ( 'file:path/to/database?mode=ro' , uri = True ) More info ... じ機能があります。 以下はプログラム例です: # Convert file existing_db.db to SQL dump file dump.sql import sq ...
https://man.plustar.jp/python/library/sqlite3.html - [similar]
35.6. termios --- POSIX スタイルの端末制御 — Python 3.6.5 ドキュメント 4632
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... d を最初の引数としてとります。この値は、 sys.stdin.fileno() が返すような整数のファイル記述子でも、 sys.std ... in 自体のような file object でもかまいません。 このモジュールではまた、 ... word: " ): import termios , sys fd = sys . stdin . fileno () old = termios . tcgetattr ( fd ) new = termio ...
https://man.plustar.jp/python/library/termios.html - [similar]