Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 26 for ext (0.029 sec.)
3. setup 設定ファイル (setup configuration file) を書く — Python 3.6.5 ドキュメ... 15059
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python モジュールの ... --help option, e.g. $ python setup.py --help build_ext [...] Options for 'build_ext' command: --build-lib ... (-b) directory for compiled extension modules --build-temp (-t) directory for temp ... ) --inplace (-i) ignore build-lib and put compiled extensions into the source directory alongside your pu ... onfiguration files. For example, say you want your extensions to be built "in-place"---that is, you have ...
https://man.plustar.jp/python/distutils/configfile.html - [similar]
2. setup スクリプトを書く — Python 3.6.5 ドキュメント 11141
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python モジュールの ... それらは全て、もう 1 つの setup() のオプション引数、 ext_modules オプションを通じて行われます。 ext_modules ... は単なる Extension のリストで、それぞれがある 1 つの拡張モジュー ... の指示が無い場合は、拡張モジュールの記述は単純です: Extension ( 'foo' , [ 'foo.c' ]) Extension クラスは、 ... うになるでしょう: from distutils.core import setup , Extension setup ( name = 'foo' , version = '1.0' , ext ...
https://man.plustar.jp/python/distutils/setupscript.html - [similar]
19.1.8. email: 使用例 — Python 3.6.5 ドキュメント 9604
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... First, let's see how to create and send a simple text message (both the text content and the addresses m ... mail.message import EmailMessage # Open the plain text file whose name is in textfile for reading. with o ... pen ( textfile ) as fp : # Create a text/plain message msg = ... dress msg [ 'Subject' ] = 'The contents of %s ' % textfile msg [ 'From' ] = me msg [ 'To' ] = you # Send ...
https://man.plustar.jp/python/library/email.examples.html - [similar]
4. C および C++ 拡張のビルド — Python 3.6.5 ドキュメント 9273
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python インタプリタ ... 容になっています: from distutils.core import setup , Extension module1 = Extension ( 'demo' , sources = [ ' ... = '1.0' , description = 'This is a demo package' , ext_modules = [ module1 ]) この setup.py とファイル de ... しておくことがよくあります。 上の例では、 setup() の ext_modules は拡張モジュールのリストで、リストの各々の ... 要素は Extension クラスのインスタンスになっています。 上の例で ...
https://man.plustar.jp/python/extending/building.html - [similar]
7. 使用例 — Python 3.6.5 ドキュメント 8926
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python モジュールの ... , ) 7.3. 単体の拡張モジュール ¶ 拡張モジュールは、 ext_modules オプションを使って指定します。 package_dir ... ます from distutils.core import setup from distutils.extension import Extension setup ( name = 'foobar' , v ... ersion = '1.0' , ext_modules = [ Extension ( 'foo' , [ 'foo.c' ])], ) 同 ... す: from distutils.core import setup from distutils.extension import Extension setup ( name = 'foobar' , v ...
https://man.plustar.jp/python/distutils/examples.html - [similar]
11.2. os.path --- 共通のパス名操作 — Python 3.6.5 ドキュメント 8926
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... bject を受け入れるようになりました。 os.path. splitext ( path ) ¶ パス名 path を (root, ext) のペアに分割 ... します。 root + ext == path になります。 ext は空文字列か 1 つのピリオ ... 。ベースネームを導出するピリオドは無視されます; splitext('.cshrc') は ('.cshrc', '') を返します。 バージョン ... NC マウントポイント、そして rest は ( r'\path\file.ext' のような) パスの残りの部分です。ドライブレターを含 ...
https://man.plustar.jp/python/library/os.path.html - [similar]
16.7. logging.config --- ロギングの環境設定 — Python 3.6.5 ドキュメント 8414
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... rief level : INFO filters : [ allow_foo ] stream : ext://sys.stdout file : class : logging.handlers.Rotat ... け、それらを特殊に扱います。例えば、リテラル文字列 'ext://sys.stderr' が設定中の値として与えられたら、この ... ext:// は剥ぎ取られ、この値の残りが普通のインポート機構 ... e resolved in an analogous way to strings with the ext:// prefix, but looking in the configuration itself ...
https://man.plustar.jp/python/library/logging.config.html - [similar]
19.5. mimetypes --- ファイル名を MIME 型へマップする — Python 3.6.5 ドキュメン... 8249
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... される MIME 型も認識されます。 mimetypes. guess_all_extensions ( type , strict=True ) ¶ type で与えられる ... 関数のものと同じ意味を持ちます。 mimetypes. guess_extension ( type , strict=True ) ¶ type で与えられる M ... 、 None が返されます。 mimetypes. add_type ( type , ext , strict=True ) ¶ MIME 型 type からのマッピングを拡 ... 張子 ext に追加します。拡張子がすでに既知であれば、新しい型 ...
https://man.plustar.jp/python/library/mimetypes.html - [similar]
10. API リファレンス — Python 3.6.5 ドキュメント 8083
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python モジュールの ... ルする単体スクリプトファイルのリスト 文字列のリスト ext_modules ビルドする拡張モジュール distutils.core.Ex ... ルにあるいくつかのクラスを公開しています。 distutils.extension から Extension distutils.cmd から Command di ... のモジュールをごらんください。 class distutils.core. Extension ¶ Extension クラスは、セットアップスクリプト ... 定プラットフォーム用のリソースファイル、その他 build_ext コマンドがソースファイルだと認識するどの形式でもあ ...
https://man.plustar.jp/python/distutils/apiref.html - [similar]
Logging クックブック — Python 3.6.5 ドキュメント 8083
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Logg ... ) もログ記録に残しておきたいと思ったとしましょう。 extra パラメータをこの目的に使うこともできますが、いつ ... ug call to the underlying logger, after adding contextual information from this adapter instance. """ msg ... ンストラクタに渡された辞書風オブジェクトを値として "extra" キーが挿入されます。もちろん、呼び出し時に "ext ... た場合には何事もなかったかのように上書きされます。 "extra" を用いる利点は辞書風オブジェクトの中の値が LogR ...
https://man.plustar.jp/python/howto/logging-cookbook.html - [similar]
PREV 1 2 3 NEXT