per page, with , order by , clip by
Results of 1 - 10 of about 128 for Spam (0.013 sec.)
1. Extending Python with C or C++ — Python 3.14.8 ドキュメント 10621
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 1. Extending Python with C or C++ テーマ 自動 ライト ダーク | 1. Extending Python with C or C++ ¶ It is quite easy to add n ... of Python than writing and compiling a C extension module. 1.1. A Simple Example ¶ Let's create an extension module called spam (the favorite food of Monty Python fans...) and let's say we want to create a Python interface to the C library function s ... aracter string as argument and returns an integer. We want this function to be callable from Python as follows: >>> import spam >>> status = spam . system ( "ls -l" ) Begin by creating a file spammodule.c . (Historically, if a module is called spam , ... the C file containing its implementation is called spammodule.c ; if the module name is very long, like spammify , the module name can be just spammify.c .) The first two lines o ...
https://man.mtool.work/python/3.14/extending/extending.html
1. Extending Python with C or C++ — Python 3.14.8 ドキュメント 10621
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 1. Extending Python with C or C++ テーマ 自動 ライト ダーク | 1. Extending Python with C or C++ ¶ It is quite easy to add n ... of Python than writing and compiling a C extension module. 1.1. A Simple Example ¶ Let's create an extension module called spam (the favorite food of Monty Python fans...) and let's say we want to create a Python interface to the C library function s ... aracter string as argument and returns an integer. We want this function to be callable from Python as follows: >>> import spam >>> status = spam . system ( "ls -l" ) Begin by creating a file spammodule.c . (Historically, if a module is called spam , ... the C file containing its implementation is called spammodule.c ; if the module name is very long, like spammify , the module name can be just spammify.c .) The first two lines o ...
https://man.mtool.work/python/3.14/extending/extending.html
5. Windows 上での C および C++ 拡張モジュールのビルド — Python 3.14.8 ドキュメ... 10218
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 5. Windows 上での C および C++ 拡張モジュールのビルド テーマ 自動 ライト ダーク | 5. Windows 上での C および C++ 拡張モジュ ... のコードにアクセスするするために実行時に用いられる情報が入っているだけです。 Windows ではインポートライブラリの使用は import spam とするようなものです; この操作によって spam の名前にアクセスできますが、コードのコピーを個別に作成したりはしません。Unix で ... は、ライブラリとのリンクはむしろ from spam import * に似ています; この操作では個別にコードのコピーを生成します。 Py_NO_LINK_LIB ¶ Turn off the implicit, #pragma -bas ... XY_d.lib for Debug, pythonXY.lib for Release, and pythonX.lib for Release with the Limited API enabled. To build two DLLs, spam and ni (which uses C functions found in spam), you could use these commands: cl / LD / I / python / include spam . c cl / ...
https://man.mtool.work/python/3.14/extending/windows.html
csv --- CSV File Reading and Writing — Python 3.14.8 ドキュメント 10218
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ファイルフォーマット » csv --- CSV File Reading and Writing テーマ 自動 ライト ダーク | csv --- CSV File Reading and Writing ¶ ソー ... ルドは浮動小数点数に変換されます)。 短い利用例: >>> import csv >>> with open ( 'eggs.csv' , newline = '' ) as csvfile : ... spamreader = csv . reader ( csvfile , delimiter = ' ' , quotechar = '|' ) ... for row in spamreader : ... print ( ', ' . join ( ... row )) Spam, Spam, Spam, Spam, Spam, Baked Beans Spam, Lovely Spam, Wonderful Spam where eggs.csv contains: Spam Spam Spam Spam Spam | ... Baked Beans| Spam |Lovely Spam| |Wonderful Spam| csv. writer ( csvfile , / , dialect = 'excel' , ** fmtparams ) ¶ ユーザが与えたデータをデリ ...
https://man.mtool.work/python/3.14/library/csv.html
5. Windows 上での C および C++ 拡張モジュールのビルド — Python 3.14.8 ドキュメ... 10218
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 5. Windows 上での C および C++ 拡張モジュールのビルド テーマ 自動 ライト ダーク | 5. Windows 上での C および C++ 拡張モジュ ... のコードにアクセスするするために実行時に用いられる情報が入っているだけです。 Windows ではインポートライブラリの使用は import spam とするようなものです; この操作によって spam の名前にアクセスできますが、コードのコピーを個別に作成したりはしません。Unix で ... は、ライブラリとのリンクはむしろ from spam import * に似ています; この操作では個別にコードのコピーを生成します。 Py_NO_LINK_LIB ¶ Turn off the implicit, #pragma -bas ... XY_d.lib for Debug, pythonXY.lib for Release, and pythonX.lib for Release with the Limited API enabled. To build two DLLs, spam and ni (which uses C functions found in spam), you could use these commands: cl / LD / I / python / include spam . c cl / ...
https://man.mtool.work/python/3.14/extending/windows.html
csv --- CSV File Reading and Writing — Python 3.14.8 ドキュメント 10218
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ファイルフォーマット » csv --- CSV File Reading and Writing テーマ 自動 ライト ダーク | csv --- CSV File Reading and Writing ¶ ソー ... ルドは浮動小数点数に変換されます)。 短い利用例: >>> import csv >>> with open ( 'eggs.csv' , newline = '' ) as csvfile : ... spamreader = csv . reader ( csvfile , delimiter = ' ' , quotechar = '|' ) ... for row in spamreader : ... print ( ', ' . join ( ... row )) Spam, Spam, Spam, Spam, Spam, Baked Beans Spam, Lovely Spam, Wonderful Spam where eggs.csv contains: Spam Spam Spam Spam Spam | ... Baked Beans| Spam |Lovely Spam| |Wonderful Spam| csv. writer ( csvfile , / , dialect = 'excel' , ** fmtparams ) ¶ ユーザが与えたデータをデリ ...
https://man.mtool.work/python/3.14/library/csv.html
組み込み型 — Python 3.14.8 ドキュメント 10109
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » 組み込み型 テーマ 自動 ライト ダーク | 組み込み型 ¶ 以下のセクションでは、インタプリタに組み込まれている標準型について記述します。 主 ... ラルに含まれます。 単式の一部であり間に空白のみを含む文字列リテラルは、一つの文字列リテラルに暗黙に変換されます。つまり、 ("spam " "eggs") == "spam eggs" です。 サポートされている エスケープシーケンス や、ほとんどのエスケープシーケンスの処理を無効化す ... mpty, returns the number of empty strings between characters which is the length of the string plus one. For example: >>> 'spam, spam, spam' . count ( 'spam' ) 3 >>> 'spam, spam, spam' . count ( 'spam' , 5 ) 2 >>> 'spam, spam, spam' . count ( 'spam' ... , 5 , 10 ) 1 >>> 'spam, spam, spam' . count ( 'eggs' ) 0 >>> 'spam, spam, spam' . count ( '' ) 17 str. encode ( encoding = 'utf-8' , errors = 'st ...
https://man.mtool.work/python/3.14/builtins/stdtypes.html
組み込み型 — Python 3.14.8 ドキュメント 9547
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » 組み込み型 テーマ 自動 ライト ダーク | 組み込み型 ¶ 以下のセクションでは、インタプリタに組み込まれている標準型について記述します。 主 ... ラルに含まれます。 単式の一部であり間に空白のみを含む文字列リテラルは、一つの文字列リテラルに暗黙に変換されます。つまり、 ("spam " "eggs") == "spam eggs" です。 サポートされている エスケープシーケンス や、ほとんどのエスケープシーケンスの処理を無効化す ... mpty, returns the number of empty strings between characters which is the length of the string plus one. For example: >>> 'spam, spam, spam' . count ( 'spam' ) 3 >>> 'spam, spam, spam' . count ( 'spam' , 5 ) 2 >>> 'spam, spam, spam' . count ( 'spam' ... , 5 , 10 ) 1 >>> 'spam, spam, spam' . count ( 'eggs' ) 0 >>> 'spam, spam, spam' . count ( '' ) 17 str. encode ( encoding = 'utf-8' , errors = 'st ...
https://man.mtool.work/python/3.14/builtins/stdtypes.html
9. クラス — Python 3.14.8 ドキュメント 8094
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python チュートリアル » 9. クラス テーマ 自動 ライト ダーク | 9. クラス ¶ クラスはデータと機能を組み合わせる方法を提供します。 新規にクラスを作成することで、新し ... る名前空間が直接アクセスできるような、 Python プログラムのテキスト上の領域です。 "直接アクセス可能" とは、修飾なしに (訳注: spam.egg ではなく単に egg のように) 名前を参照した際に、その名前空間から名前を見つけようと試みることを意味します。 スコープは静 ... されるか、また global および nonlocal が変数の束縛にどう影響するか、この例で実演します: def scope_test (): def do_local (): spam = "local spam" def do_nonlocal (): nonlocal spam spam = "nonlocal spam" def do_global (): global spam spam = "global spam" ... spam = "test spam" do_local () print ( "After local assignment:" , spam ) do_nonlocal () print ( "After nonlocal assignment:" , ...
https://man.mtool.work/python/3.14/tutorial/classes.html
9. クラス — Python 3.14.8 ドキュメント 8094
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python チュートリアル » 9. クラス テーマ 自動 ライト ダーク | 9. クラス ¶ クラスはデータと機能を組み合わせる方法を提供します。 新規にクラスを作成することで、新し ... る名前空間が直接アクセスできるような、 Python プログラムのテキスト上の領域です。 "直接アクセス可能" とは、修飾なしに (訳注: spam.egg ではなく単に egg のように) 名前を参照した際に、その名前空間から名前を見つけようと試みることを意味します。 スコープは静 ... されるか、また global および nonlocal が変数の束縛にどう影響するか、この例で実演します: def scope_test (): def do_local (): spam = "local spam" def do_nonlocal (): nonlocal spam spam = "nonlocal spam" def do_global (): global spam spam = "global spam" ... spam = "test spam" do_local () print ( "After local assignment:" , spam ) do_nonlocal () print ( "After nonlocal assignment:" , ...
https://man.mtool.work/python/3.14/tutorial/classes.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT