per page, with , order by , clip by
Results of 1 - 10 of about 56 for library (0.006 sec.)
ctypes --- Python 用の外部関数ライブラリ 14778
ctypes --- Python 用の外部関数ライブラリ ソースコード: Lib/ctypes ctypes は Python 用の外部関数ライブラリです。 C と互換性のあるデータ型を提供し、DLL や共有ライブラリの関数を呼び出せます。 これらのライブラリを純粋な Python でラップするために ... ムでは、ライブラリのロードに拡張子を 含む ファイル名が必要なため、属性へのアクセスではロードできません。 DLL ローダーの LoadLibrary() メソッドを使うか、コンストラクタを呼び出して CDLL インスタンスを作成し、ライブラリをロードしてください。 例えば、Linux で ... は次のようにします。 >>> cdll . LoadLibrary ( "libc.so.6" ) <CDLL 'libc.so.6', handle ... at ...> >>> libc = CDLL ( "libc.so.6" ) >>> libc <CDLL 'libc.so.6', handle . ... .. at ...> >>> macOS では次のようにします。 >>> cdll . LoadLibrary ( "libc.dylib" ) <CDLL 'libc.dylib', handle ... at ...> >>> libc = CDLL ( "libc.dylib" ) >>> libc <CDLL 'libc.dylib', hand ...
https://man.mtool.work/python/3.14/library/ctypes.html
Pythonモジュール索引 13378
Pythonモジュール索引 _ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | z _ __future__ Future statement definitions __main__ The environment where top-level code is run. Covers command-line i ... moved in 3.13. annotationlib Functionality for introspecting annotations argparse Command-line option and argument parsing library. array Space efficient arrays of uniformly typed numeric values. ast Abstract Syntax Tree classes and manipulation. asynch ... n a directory tree. compression compression.zstd Low-level interface to compression and decompression routines in the zstd library. concurrent concurrent.futures Execute computations concurrently using threads or processes. concurrent.interpreters Multi ... file crypt 非推奨: Removed in 3.13. csv Write and read tabular data to and from delimited files. ctypes A foreign function library for Python. ctypes.wintypes Windows data types for ctypes. curses An interface to the curses library, providing portable t ...
https://man.mtool.work/python/3.14/py-modindex.html
pathlib --- オブジェクト指向のファイルシステムパス 9297
pathlib --- オブジェクト指向のファイルシステムパス Added in version 3.4. ソースコード: Lib/pathlib/ このモジュールはファイルシステムのパスを表すクラスを提供していて、様々なオペレーティングシステムについての適切な意味論をそれらのクラスに持た ... 。 PurePath. name パス要素の末尾を表す文字列があればそれになります。ドライブやルートは含まれません: >>> PurePosixPath ( 'my/library/setup.py' ) . name 'setup.py' UNC ドライブ名は考慮されません: >>> PureWindowsPath ( '//some/share/setup.py' ) . name 'setu ... hare' ) . name '' PurePath. suffix 末尾の要素をドットで分割した最後の部分があれば、それになります: >>> PurePosixPath ( 'my/library/setup.py' ) . suffix '.py' >>> PurePosixPath ( 'my/library.tar.gz' ) . suffix '.gz' >>> PurePosixPath ( 'my/library' ) . s ... 拡張子とみなすようになりました。 PurePath. suffixes パスのサフィックス(ファイル拡張子)のリストです: >>> PurePosixPath ( 'my/library.tar.gar' ) . suffixes ['.tar', '.gar'] >>> PurePosixPath ( 'my/library.tar.gz' ) . suffixes ['.tar', '.gz'] >>> PurePosixP ...
https://man.mtool.work/python/3.14/library/pathlib.html
5. macOS で Python を使う 9017
5. macOS で Python を使う このドキュメントでは、Mac コンピュータで Python を使い始める際に知っておくべき、macOS 固有の挙動を概説します。 macOS を実行する Mac 上の Python は、ほかの Unix 派生プラットフォーム上の Python と非常によく似ています ... DLE と、macOS の Finder で Python スクリプトをダブルクリックしたときの処理を担う Python Launcher があります。 A framework /Library/Frameworks/Python.framework , which includes the Python executable and libraries. The installer adds this location to your ... hon package name is checked, a separate PythonT.framework will also be installed alongside the normal Python.framework in /Library/Frameworks . This configuration allows a free-threaded Python 3.14 build to co-exist on your system with a traditional (GI ... ンストールする場合)、シェルの PATH 環境変数に PythonT フレームワークの bin ディレクトリを明示的に追加できます: export PATH="/Library/Frameworks/PythonT.framework/Versions/3.14/bin":"$PATH" 従来のフレームワークのインストールでも、対象が Python.framework で ...
https://man.mtool.work/python/3.14/using/mac.html
errno --- 標準の errno システムシンボル 8870
errno --- 標準の errno システムシンボル このモジュールから標準の errno システムシンボルを取得することができます。個々のシンボルの値は errno に対応する整数値です。これらのシンボルの名前は、 linux/include/errno.h から借用されており、網羅的なは ... されました (Remote address changed) errno. ELIBACC 必要な共有ライブラリにアクセスできません (Can not access a needed shared library) errno. ELIBBAD 壊れた共有ライブラリにアクセスしています (Accessing a corrupted shared library) errno. ELIBSCN a.out の .l ... g to link in too many shared libraries) errno. ELIBEXEC 共有ライブラリを直接実行することができません (Cannot exec a shared library directly) errno. EILSEQ 不正なバイト列です (Illegal byte sequence) errno. ERESTART 割り込まれたシステムコールを再実行する必 ... cutable)。 Added in version 3.2. errno. EBADEXEC 実行可能ファイルまたは共有ライブラリが不正です (Bad executable (or shared library))。 Added in version 3.2. errno. EBADMACHO Mach-o ファイルの形式が不正です (Malformed Mach-o file)。 Added in version 3.2. ...
https://man.mtool.work/python/3.14/library/errno.html
拡張モジュールの定義 8457
拡張モジュールの定義 A C extension for CPython is a shared library (for example, a .so file on Linux, .pyd DLL on Windows), which is loadable into the Python process (for example, it is compiled with compatible compiler settings), and which ... pam ( void ) { return PyModuleDef_Init ( & spam_module ); } It is possible to export multiple modules from a single shared library by defining multiple initialization functions. However, importing them requires using symbolic links or a custom importer, ... because by default only the function corresponding to the filename is found. See the Multiple modules in one library section in PEP 489 for details. The initialization function is typically the only non- static item defined in the module's ...
https://man.mtool.work/python/3.14/c-api/extension-modules.html
Expat C API 8457
Expat C API The xml.parsers.expat module exposes selected Expat functions through its expat_CAPI capsule. This allows extension modules to use the same Expat library as Python. The interface is declared in pyexpat.h , which must be included ... ed the capsule. int MAJOR_VERSION int MINOR_VERSION int MICRO_VERSION Major, minor, and micro version numbers of the Expat library used by xml.parsers.expat . void ( * SetUnknownEncodingHandler ) ( XML_Parser parser , XML_UnknownEncodingHandler handler ...
https://man.mtool.work/python/3.14/c-api/pyexpat.html
グラフィックユーザインターフェース FAQ 8457
グラフィックユーザインターフェース FAQ 一般的な GUI の質問 Python の GUI ツールキットには何がありますか? Python の標準的なビルドには、 tkinter という Tcl/Tk ウィジェットセットのオブジェクト指向インターフェースが含まれています。これは最も簡単 ... とするので、真のスタンドアロンにはなりません。 一つの解決策は、アプリケーションに Tcl と Tk ライブラリを同梱し、環境変数 TCL_LIBRARY と TK_LIBRARY でランタイムに指定することです。 py2exe や cx_Freeze など、さまざまなサードパーティの凍結ライブラリには、Tki ...
https://man.mtool.work/python/3.14/faq/gui.html
site --- サイト固有の設定フック 8030
site --- サイト固有の設定フック ソースコード: Lib/site.py このモジュールは初期化中に自動的にインポートされます。 自動インポートはインタプリタの -S オプションで禁止できます。 Importing this module normally appends site-specific paths to the ... でデコードされるようになります。 For example, suppose sys.prefix and sys.exec_prefix are set to /usr/local . The Python X.Y library is then installed in /usr/local/lib/python X.Y . Suppose this has a subdirectory /usr/local/lib/python X.Y /site-packages ... 、UNIX と非フレームワークの macOS ビルドでは ~/.local/lib/python X.Y [t]/site-packages 、macOS のフレームワークビルドでは ~/Library/Python/ X.Y /lib/python/site-packages 、Windows では %APPDATA% \Python\Python XY \site-packages です。 省略可能な "t" はフ ... ければ None かもしれません。デフォルト値は UNIX と frameworkなしの macOS ビルドでは ~/.local 、macOS framework ビルドでは ~/Library/Python/ X.Y 、Windows では %APPDATA% \Python です。この値は、スクリプト、データファイル、Python モジュールなどのインストー ...
https://man.mtool.work/python/3.14/library/site.html
このドキュメントについて 7750
このドキュメントについて Python のドキュメントは、 Sphinx を使って reStructuredText のソースから生成されています。 Sphinx はもともと Python のために作られたドキュメント生成ツールで、現在は独立したプロジェクトとして保守されています。 ドキュメ ... のアイデアを得ました。 Pythonドキュメントへの貢献者 Many people have contributed to the Python language, the Python standard library, and the Python documentation. See Misc/ACKS in the Python source distribution for a partial list of contributors. Python ...
https://man.mtool.work/python/3.14/about.html
PREV 1 2 3 4 5 6 NEXT