per page, with , order by , clip by
Results of 1 - 10 of about 60 for Standard (0.006 sec.)
What's New In Python 3.13 11982
What's New In Python 3.13 エディタ : Adam Turner と Thomas Wouters この記事では Python 3.12 と比較した Python 3.13 の新機能を解説します。Python 3.13 は2024年10月7日にリリースされました。全詳細については 変更履歴 をご覧ください。 参考 PEP 71 ... ror : module 'random' has no attribute 'randint' (consider renaming '/home/me/random.py' since it has the same name as the standard library module named 'random' and prevents importing that standard library module) 同様に、スクリプトがインポートしようとす ... 標準ライブラリから削除することを提案しました。 次のモジュールはすべて Python 3.11 で非推奨になり、今回削除されました。 aifc standard-aifc : PyPI で再配布されている aifc ライブラリを使ってください。 audioop audioop-lts : PyPI の audioop-lts ライブラリを使っ ... てください。 chunk standard-chunk : PyPI で再配布されている chunk ライブラリを使ってください。 cgi と cgitb cgi.FieldStorage は通常、 GET と HEAD リク ...
https://man.mtool.work/python/3.14/whatsnew/3.13.html
struct --- バイト列をパックされたバイナリデータとして解釈する 11386
struct --- バイト列をパックされたバイナリデータとして解釈する ソースコード: Lib/struct.py このモジュールは、Python の値と、Python の bytes オブジェクトで表した C の構造体との間の変換を行います。 簡潔な 書式文字列 で、Python の値との変換方法 ... できます。指定できる文字を以下のテーブルに示します: 文字 バイトオーダ サイズ アラインメント @ native native native = native standard none < リトルエンディアン standard none > ビッグエンディアン standard none ! ネットワーク (= ビッグエンディアン) standard ... 式指定文字には以下の意味があります。 C と Python の値の変換関係は、表に示すそれぞれの型から分かります。 「標準のサイズ」列は standard サイズ使用時にパックされた値が何バイトかを示します。 つまり、フォーマット文字列が '<' , '>' , '!' , '=' のいずれかで始まっ ... 'n' および 'N' 変換コードは (デフォルトもしくはバイトオーダ文字 '@' 付きで選択される) native サイズ使用時のみ利用できます。standard サイズ使用時には、自身のアプリケーションに適する他の整数フォーマットを使うことができます。 'f' 、 'd' および 'e' 変換コード ...
https://man.mtool.work/python/3.14/library/struct.html
4. その他の制御フローツール 10790
4. その他の制御フローツール 前章で紹介した while 文の他にも、 Python にはいくつか制御フローツールがあり、本章で説明します。 4.1. if 文 おそらく最もおなじみの文型は if 文でしょう。例えば: >>> x = int ( input ( "Please enter an integer: " )) ... 直前に * を配置します。 4.9.3.4. 関数の例 / および * といったマーカーに注意を払って、次の関数定義の例を見てください: >>> def standard_arg ( arg ): ... print ( arg ) ... >>> def pos_only_arg ( arg , / ): ... print ( arg ) ... >>> def kwd_only_arg ( * , arg ... ): ... print ( arg ) ... >>> def combined_example ( pos_only , / , standard , * , kwd_only ): ... print ( pos_only , standard , kwd_only ) 最も馴染みのある形式の最初の関数定義 standard_arg は、呼び出 ... し規約に制限を設けておらず、引数は位置またはキーワードで渡されます: >>> standard_arg ( 2 ) 2 >>> standard_arg ( arg = 2 ) 2 2番目の関数の pos_only_arg は、 / が関数定義にあるので、引数は位置専用になります ...
https://man.mtool.work/python/3.14/tutorial/controlflow.html
The Python Profilers 10194
The Python Profilers Source code: Lib/profile.py and Lib/pstats.py Introduction to the profilers cProfile and profile provide deterministic profiling of Python programs. A profile is a set of statistics that describes how often and for how ... ng various parts of the program executed. These statistics can be formatted into reports via the pstats module. The Python standard library provides two different implementations of the same profiling interface: cProfile is recommended for most users; it ... hod removed the extraneous path from all the module names. The sort_stats() method sorted all the entries according to the standard module/line/name string that is printed. The print_stats() method printed out all the statistics. You might try the follow ... ine' SortKey.LINE line number 'name' SortKey.NAME function name 'nfl' SortKey.NFL name/file/line 'stdname' SortKey.STDNAME standard name 'time' SortKey.TIME internal time 'tottime' N/A internal time Note that all sorts on statistics are in descending ord ...
https://man.mtool.work/python/3.14/library/profile.html
1. Extending Python with C or C++ 9888
1. Extending Python with C or C++ It is quite easy to add new built-in modules to Python, if you know how to program in C. Such extension modules can do two things that can't be done directly in Python: they can implement new built-in objec ... e module and a copyright notice if you like). 注釈 Since Python may define some pre-processor definitions which affect the standard headers on some systems, you must include Python.h before any standard headers are included. #define PY_SSIZE_T_CLEAN was ... escription of this macro. All user-visible symbols defined by Python.h have a prefix of Py or PY , except those defined in standard header files. Tip For backward compatibility, Python.h includes several standard header files. C extensions should include ... the standard headers that they use, and should not rely on these implicit includes. If using the limited C API version 3.13 or newer, t ...
https://man.mtool.work/python/3.14/extending/extending.html
base64 --- Base16, Base32, Base64, Base85 データのエンコード 9888
base64 --- Base16, Base32, Base64, Base85 データのエンコード ソースコード: Lib/base64.py このモジュールは、バイナリデータを表示可能な ASCII 文字にエンコードし、エンコードされたデータをバイナリデータに戻す関数を提供します。 RFC 4648 で 規定さ ... 詳細は binascii.a2b_base64() を参照してください May assert or raise a ValueError if the length of altchars is not 2. base64. standard_b64encode ( s ) 標準の base64 アルファベットを使用して bytes-like object の s をエンコードし、エンコードされた bytes を返し ... ます。 base64. standard_b64decode ( s ) 標準の base64 アルファベットを使用した bytes-like object または ASCII 文字列 s をデコードし、デコードされた ... ytes-like object s using the URL- and filesystem-safe alphabet, which substitutes - instead of + and _ instead of / in the standard Base64 alphabet, and return the encoded bytes . The result can still contain = . base64. urlsafe_b64decode ( s ) bytes-lik ...
https://man.mtool.work/python/3.14/library/base64.html
Pythonモジュール索引 9597
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 ... installer into an existing Python installation or virtual environment. enum Implementation of an enumeration class. errno Standard errno system symbols. f faulthandler Dump the Python traceback. fcntl The fcntl() and ioctl() system calls. filecmp Compar ... e files efficiently. fileinput Loop over standard input or a list of files. fnmatch Unix shell style filename pattern matching. fractions Rational numbers. ftplib FTP proto ... in 3.13. numbers Numeric abstract base classes (Complex, Real, Integral, etc.). o operator Functions corresponding to the standard operators. optparse Command-line option parsing library. os Miscellaneous operating system interfaces. os.path Operations ...
https://man.mtool.work/python/3.14/py-modindex.html
unicodedata --- Unicode データベース 9001
unicodedata --- Unicode データベース This module provides access to the Unicode Character Database (UCD) which defines character properties for all Unicode characters. The data contained in this database is compiled from the UCD version 16. ... 0.0 . The module uses the same names and symbols as defined by Unicode Standard Annex #44, "Unicode Character Database" . It defines the following functions: 参考 Unicode とこのモジュールの使い方について ... he east asian width assigned to the character chr as string. For a list of widths and or more information, see the Unicode Standard Annex #11 . unicodedata. mirrored ( chr ) 文字 chr に割り当てられた鏡像プロパティを整数で返します。 双方向テキストで「鏡像 ...
https://man.mtool.work/python/3.14/library/unicodedata.html
このドキュメントについて 8696
このドキュメントについて 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. ...
https://man.mtool.work/python/3.14/about.html
ソートのテクニック 8696
ソートのテクニック Author : Andrew Dalke and Raymond Hettinger Python のリストにはリストをインプレースに変更する、組み込みメソッド list.sort() があります。他にもイテラブルからソートしたリストを作成する組み込み関数 sorted() があります。 この ... 関数を二回使うことで模倣することができます: >>> data = [( 'red' , 1 ), ( 'blue' , 1 ), ( 'red' , 2 ), ( 'blue' , 2 )] >>> standard_way = sorted ( data , key = itemgetter ( 0 ), reverse = True ) >>> double_reversed = list ( reversed ( sorted ( reversed ( ... data ), key = itemgetter ( 0 )))) >>> assert standard_way == double_reversed >>> standard_way [('red', 1), ('red', 2), ('blue', 1), ('blue', 2)] ソート関数は、2つのオブジェクト ...
https://man.mtool.work/python/3.14/howto/sorting.html
PREV 1 2 3 4 5 6 NEXT