per page, with , order by , clip by
Results of 1 - 10 of about 37 for access (0.007 sec.)
mmap --- メモリマップファイルのサポート 16354
mmap --- メモリマップファイルのサポート 利用可能な環境 : not WASI. このモジュールは WebAssembly では動作しないか、利用不可です。詳しくは、 WebAssembly プラットフォーム を見てください。 Memory-mapped file objects behave like both bytearray a ... 必要です。 Unix バージョンと Windows バージョンのどちらのコンストラクタについても、オプションのキーワード・パラメータとして access を指定できます。 access は4つの値の内の1つを受け入れます。 ACCESS_READ は読み出し専用、 ACCESS_WRITE は書き込み可能、 ACCE ... SS_COPY はコピーした上での書き込み、 ACCESS_DEFAULT は prot に従います。 access は Unix と Windows の両方で使用することができます。 access が指定されない場合、 Window ... s の mmap は書き込み可能マップを返します。 3つのアクセス型すべてに対する初期メモリ値は、指定されたファイルから得られます。 ACCESS_READ 型のメモリマップに対して書き込むと TypeError 例外を送出します。 ACCESS_WRITE 型のメモリマップへの書き込みはメモリと元 ...
https://man.mtool.work/python/3.14/library/mmap.html
winreg --- Windows レジストリへのアクセス 10229
winreg --- Windows レジストリへのアクセス これらの関数は Windows レジストリ API を Python から使えるようにします。プログラマがレジストリハンドルを明示的にクローズするのを忘れた場合でも、確実にハンドルがクローズされるようにするために、レジス ... キーを開きます。 戻り値は開かれたキーのハンドルです。関数が失敗した場合、 OSError 例外が送出されます。 引数 key , sub_key , access を指定して 監査イベント winreg.CreateKey を送出します。 引数 key を指定して 監査イベント winreg.OpenKey/result を送出します ... 。 バージョン 3.3 で変更: 上記 を参照。 winreg. CreateKeyEx ( key , sub_key , reserved = 0 , access = KEY_WRITE ) 指定されたキーを生成するか開き、 ハンドルオブジェクト を返します。 key はすでに開かれたキーか、既定の HKEY_* ... ッドが開く、または新規作成するキーの名前です。 reserved は予約された整数で、 0 でなくてはなりません。デフォルト値は 0 です。 access は、 key に対して想定されるセキュリティアクセスを示すアクセスマスクを指定する整数です。デフォルトは KEY_WRITE です。その他 ...
https://man.mtool.work/python/3.14/library/winreg.html
Pythonモジュール索引 10024
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 ... ery. importlib.abc Abstract base classes related to import importlib.machinery Importers and path hooks importlib.metadata Accessing package metadata importlib.resources Package resource reading, opening, and access importlib.resources.abc Abstract bas ... ace to validate and pretty-print JSON. k keyword Test whether a string is a keyword in Python. l linecache Provides random access to individual lines from text files. locale Internationalization services. logging Flexible event logging system for appli ... d objects. multiprocessing.pool Create pools of processes. multiprocessing.shared_memory Provides shared memory for direct access across processes. multiprocessing.sharedctypes Allocate ctypes objects from shared memory. n netrc Loading of .netrc files ...
https://man.mtool.work/python/3.14/py-modindex.html
監査イベント表 9313
監査イベント表 この表は、 CPython ランタイムと標準ライブラリ全体で sys.audit() または PySys_Audit() の呼び出しによって送出されるすべてのイベントを含んでいます。これらの呼び出しは、 3.8 以降に追加されました ( PEP 578 を参照) 。 これらのイベン ... s.path_hooks [1] marshal.dumps value , version [1] marshal.load [1] marshal.loads bytes [1] mmap.__new__ fileno , length , access , offset [1] msvcrt.get_osfhandle fd [1] msvcrt.locking fd , mode , nbytes [1] msvcrt.open_osfhandle handle , flags [1] ob ... aders , method [1] webbrowser.open url [1] winreg.ConnectRegistry computer_name , key [1] winreg.CreateKey key , sub_key , access [1] [2] winreg.DeleteKey key , sub_key , access [1] [2] winreg.DeleteValue key , value [1] winreg.DisableReflectionKey key ... ex [1] winreg.ExpandEnvironmentStrings str [1] winreg.LoadKey key , sub_key , file_name [1] winreg.OpenKey key , sub_key , access [1] winreg.OpenKey/result key [1] [2] [3] winreg.PyHKEY.Detach key [1] winreg.QueryInfoKey key [1] winreg.QueryReflectionK ...
https://man.mtool.work/python/3.14/library/audit_events.html
os --- 雑多なオペレーティングシステムインターフェース 8382
os --- 雑多なオペレーティングシステムインターフェース ソースコード: Lib/os.py このモジュールは、 OS 依存の機能を利用するポータブルな方法を提供します。単純なファイルの読み書きについては、 open() を参照してください。パス操作については、 os.pa ... oups() if suitably privileged. If built with a deployment target greater than 10.5 , getgroups() returns the current group access list for the user associated with the effective user id of the process; the group access list may change over the lifetime ... fd は無視されます。 POSIX システムでは、Python は末尾に at が付き、場合によっては先頭に f も付く関数を呼び出します (例えば access の代わりに faccessat )。 そのプラットフォーム上で特別な関数に dir_fd がサポートされているかどうかは、 os.supports_dir_fd で ... されているかどうかは、 os.supports_follow_symlinks で確認できます。利用できない場合 NotImplementedError が送出されます。 os. access ( path , mode , * , dir_fd = None , effective_ids = False , follow_symlinks = True ) 実 uid/gid を使い、 path にアクセスで ...
https://man.mtool.work/python/3.14/library/os.html
dbm --- Unix "データベース" へのインターフェース 8098
dbm --- Unix "データベース" へのインターフェース ソースコード: Lib/dbm/__init__.py dbm は DBM データベースの各種実装に対する汎用インターフェースです: dbm.sqlite3 dbm.gnu dbm.ndbm If none of these modules are installed, the slow-but-simple i ... f it doesn't exist. 'n' : Always create a new, empty database, open for reading and writing. mode ( int ) -- The Unix file access mode of the file (default: octal 0o666 ), used only when the database has to be created. バージョン 3.11 で変更: file に p ... で有効とは限りません。 サポートするフラグ文字の一覧は open_flags メンバーを参照してください。 mode ( int ) -- The Unix file access mode of the file (default: octal 0o666 ), used only when the database has to be created. 例外 : error -- 不正な flag 引数が ... f it doesn't exist. 'n' : Always create a new, empty database, open for reading and writing. mode ( int ) -- The Unix file access mode of the file (default: octal 0o666 ), used only when the database has to be created. バージョン 3.11 で変更: ファイル名 ...
https://man.mtool.work/python/3.14/library/dbm.html
アノテーションのベストプラクティス 7735
アノテーションのベストプラクティス author : Larry Hastings 概要 このドキュメントは、アノテーションの辞書を扱う上でのベストプラクティスをまとめるものです。Python オブジェクトに付与された __annotations__ を Python コードからアクセスする際には ... ns are defined on that object. You can delete the __annotations__ attribute using del fn.__annotations__ , but if you then access fn.__annotations__ the object will create a new empty dict that it will store and return as its annotations. Deleting the ... な動作ではありませんが、意外に感じるかもしれないため、ここで紹介しています。 If you use a class with a custom metaclass and access __annotations__ on the class, you may observe unexpected behavior; see 749 for some examples. You can avoid these quirks b ... has annotations. On these versions, always use annotationlib.get_annotations() (or inspect.get_annotations() ) rather than accessing __dict__ directly. Only on Python 3.9 and earlier, where neither function is available, can you avoid these bugs by rea ...
https://man.mtool.work/python/3.14/howto/annotations.html
What's New In Python 3.9 7735
What's New In Python 3.9 編集者 : Łukasz Langa この記事では Python 3.8 と比較した Python 3.9 の新機能を解説します。 Python 3.9 は 2020 年 10 月 5 日にリリースされました。 詳しくは 変更履歴 を参照してください。 参考 PEP 596 - Python 3.9 リリ ... 能改善の概要です: Python version 3.4 3.5 3.6 3.7 3.8 3.9 -------------- --- --- --- --- --- --- Variable and attribute read access: read_local 7.1 7.1 5.4 5.1 3.9 3.9 read_nonlocal 7.1 8.1 5.8 5.4 4.4 4.5 read_global 15.5 19.0 14.3 13.6 7.6 7.8 read_bui ... read_namedtuple 73.8 57.5 45.0 46.8 18.4 18.7 read_boundmethod 37.6 37.9 29.6 26.9 27.7 41.1 Variable and attribute write access: write_local 8.7 9.3 5.5 5.3 4.3 4.3 write_nonlocal 10.5 11.1 5.6 5.5 4.7 4.8 write_global 19.7 21.2 18.0 18.0 15.8 16.7 w ... write_instancevar 44.6 45.8 40.0 38.9 35.5 37.4 write_instancevar_slots 35.6 36.1 27.3 26.6 25.7 25.8 Data structure read access: read_list 24.2 24.5 20.8 20.8 19.0 19.5 read_deque 24.7 25.5 20.2 20.6 19.8 20.2 read_dict 24.3 25.7 22.3 23.0 21.0 22.4 ...
https://man.mtool.work/python/3.14/whatsnew/3.9.html
リモートデバッグのアタッチプロトコル 7671
リモートデバッグのアタッチプロトコル このプロトコルを使うと、外部ツールから実行中の CPython プロセスにアタッチし、Python コードをリモートで実行できます。 別の Python プロセスへのアタッチには、プラットフォームによって追加の権限や設定が必要な ... e, but the section name is not affected. 実装例を示します。 def find_py_runtime_macos ( pid : int ) -> int : # Step 1: Get access to the process's memory handle = get_memory_access_handle ( pid ) # Step 2: Try to find the Python executable in memory bi ... 義されます。 アタッチには OS レベルの権限が必要 On every supported platform the operating system gates cross-process memory access behind privilege checks ( CAP_SYS_PTRACE , root, or administrator rights). A report that demonstrates an issue only after ...
https://man.mtool.work/python/3.14/howto/remote_debugging.html
What's New In Python 3.8 7671
What's New In Python 3.8 編集者 : Raymond Hettinger この記事では Python 3.7 と比較した Python 3.8 の新機能を解説します。 Python 3.8 は 2019 年 10 月 14 日にリリースされました。 詳しくは 変更履歴 を参照してください。 概要 -- リリースハイライ ... Jörn Heissler in bpo-35224 .) デモとツール 変数にアクセスする各種の方法を計測するベンチマークスクリプト Tools/scripts/var_access_benchmark.py が追加されました。 (Contributed by Raymond Hettinger in bpo-35884 .) Python 3.3 以降の性能改善の概要です: Pyt ... hon version 3.3 3.4 3.5 3.6 3.7 3.8 -------------- --- --- --- --- --- --- Variable and attribute read access: read_local 4.0 7.1 7.1 5.4 5.1 3.9 read_nonlocal 5.3 7.1 8.1 5.8 5.4 4.4 read_global 13.3 15.5 19.0 14.3 13.6 7.6 read_bu ... read_namedtuple 68.5 73.8 57.5 45.0 46.8 18.4 read_boundmethod 29.8 37.6 37.9 29.6 26.9 27.7 Variable and attribute write access: write_local 4.6 8.7 9.3 5.5 5.3 4.3 write_nonlocal 7.3 10.5 11.1 5.6 5.5 4.7 write_global 15.9 19.7 21.2 18.0 18.0 15.8 w ...
https://man.mtool.work/python/3.14/whatsnew/3.8.html
PREV 1 2 3 4 NEXT