Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 250 for import (0.050 sec.)
6. モジュール (module) — Python 3.6.5 ドキュメント 11051
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python チュートリア ... 電卓モードでアクセスできる変数の集まりを指します) に import (取り込み) することができます。 モジュールは Pytho ... n インタプリタに入り、モジュールを以下のコマンドで import しましょう: >>> import fibo この操作では、 fibo で ... いじることもできます。 モジュールが他のモジュールを import することもできます。 import 文は全てモジュールの(さ ... に置きますが、これは慣習であって必須ではありません。 import されたモジュール名は import を行っているモジュール ...
https://man.plustar.jp/python/tutorial/modules.html - [similar]
19.1.8. email: 使用例 — Python 3.6.5 ドキュメント 10389
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... d the addresses may contain unicode characters): # Import smtplib for the actual sending function import smt ... plib # Import the email modules we'll need from email.message im ... by the using the classes from the parser module: # Import the email modules we'll need from email.parser imp ... ort BytesParser , Parser from email.policy import default # If the e-mail headers are in a file, unc ...
https://man.plustar.jp/python/library/email.examples.html - [similar]
Logging クックブック — Python 3.6.5 ドキュメント 9677
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Logg ... は親にまで渡されます。まずはメインのモジュールです: import logging import auxiliary_module # create logger wi ... して補助モジュール (auxiliary module) がこちらです: import logging # create logger module_logger = logging . ... スレッドとそれ以外のスレッドからのロギングの例です: import logging import threading import time def worker ( ... た単純なモジュール式の例を少し変えるとこうなります: import logging logger = logging . getLogger ( 'simple_exa ...
https://man.plustar.jp/python/howto/logging-cookbook.html - [similar]
31.5. importlib --- import の実装 — Python 3.6.5 ドキュメント 8684
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... リ » 31. モジュールのインポート » 31.5. importlib --- import の実装 ¶ バージョン 3.1 で追加. ソー ... スコード: Lib/importlib/__init__.py 31.5.1. はじめに ¶ importlib パッケ ... 的は2つあります。1つ目は Python ソースコード中にある import 文の(そして、拡張として、 __import__() 関数の)実装 ... を提供することです。このパッケージは import 文の、どの Python インタープリターでも動作する実装 ...
https://man.plustar.jp/python/library/importlib.html - [similar]
31.1. zipimport --- Zip アーカイブからモジュールを import する — Python 3.6.5 ... 8443
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... リ » 31. モジュールのインポート » 31.1. zipimport --- Zip アーカイブからモジュールを import する ¶ こ ... , *.pyc ) やパッケージを ZIP 形式のアーカイブから import できるようにします。通常、 zipimport を明示的に使う ... 必要はありません; 組み込みの import は、 sys.path の要素が ZIP アーカイブへのパスを指し ... サブディレクトリ構造を含めることができ、パッケージの import をサポートさせたり、アーカイブ内のパスを指定してサ ...
https://man.plustar.jp/python/library/zipimport.html - [similar]
10. 完全な文法仕様 — Python 3.6.5 ドキュメント 8163
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 言語リファレ ... : ( expr_stmt | del_stmt | pass_stmt | flow_stmt | import_stmt | global_stmt | nonlocal_stmt | assert_stmt ) ... _expr raise_stmt : 'raise' [ test [ 'from' test ]] import_stmt : import_name | import_from import_name : 'im ... s necessary because '...' is tokenized as ELLIPSIS import_from : ( 'from' (( '.' | '...' ) * dotted_name | ( ... '.' | '...' ) + ) 'import' ( '*' | '(' import_as_names ')' | import_as_names ...
https://man.plustar.jp/python/reference/grammar.html - [similar]
17.2. multiprocessing --- プロセスベースの並列処理 — Python 3.6.5 ドキュメント 7641
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 並列の基礎的な例は次の通りです: from multiprocessing import Pool def f ( x ): return x * x if __name__ == '__m ... グラムについてみていきましょう from multiprocessing import Process def f ( name ): print ( 'hello' , name ) i ... サンプルコードを以下に示します: from multiprocessing import Process import os def info ( title ): print ( titl ... t_method() によって指定します。以下に例を示します: import multiprocessing as mp def foo ( q ): q . put ( 'he ...
https://man.plustar.jp/python/library/multiprocessing.html - [similar]
10. 標準ライブラリミニツアー — Python 3.6.5 ドキュメント 7641
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python チュートリア ... テムと対話するための多くの関数を提供しています: >>> import os >>> os . getcwd () # Return the current working ... un the command mkdir in the system shell 0 from os import * ではなく、 import os 形式を使うようにしてください ... 業をするときに、対話的な操作上の助けになります: >>> import os >>> dir ( os ) <returns a list of all module fu ... フェースが shutil モジュールで提供されています: >>> import shutil >>> shutil . copyfile ( 'data.db' , 'archiv ...
https://man.plustar.jp/python/tutorial/stdlib.html - [similar]
7. 単純文 (simple statement) — Python 3.6.5 ドキュメント 7541
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 言語リファレ ... d_stmt | raise_stmt | break_stmt | continue_stmt | import_stmt | global_stmt | nonlocal_stmt 7.1. 式文 (expr ... が次のループサイクルを始める前に実行されます。 7.11. import 文 ¶ import_stmt ::= "import" module ["as" name ] ... " module ["as" name ] )* | "from" relative_module "import" identifier ["as" name ] ( "," identifier ["as" na ... me ] )* | "from" relative_module "import" "(" identifier ["as" name ] ( "," identifier ["as ...
https://man.plustar.jp/python/reference/simple_stmts.html - [similar]
7. 使用例 — Python 3.6.5 ドキュメント 7160
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python モジュールの ... クリプトは以下のようになります: from distutils.core import setup setup ( name = 'foo' , version = '1.0' , py_ ... スクリプトは以下のようになります from distutils.core import setup setup ( name = 'foobar' , version = '1.0' , ... の例で挙げた setup スクリプトは from distutils.core import setup setup ( name = 'foobar' , version = '1.0' , ... tils に教えなければなりません: from distutils.core import setup setup ( name = 'foobar' , version = '1.0' , ...
https://man.plustar.jp/python/distutils/examples.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 NEXT