Python 3.6.5 ドキュメント 検索
Results of 11 - 20 of about 162 for module (0.018 sec.)
- 26.3. doctest --- 対話的な実行例をテストする — Python 3.6.5 ドキュメント 7766
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
かつ短い実行例を示します: """ This is the "example" module. The example module supplies one function, factori...
下のような内容が入っているとします: The ``example`` module ====================== Using ``factorial`` -------...
t. First import ``factorial`` from the ``example`` module: >>> from example import factorial Now use it: >>>...
ementation detail: Prior to version 3.4, extension modules written in C were not fully searched by doctest....
- https://man.plustar.jp/python/library/doctest.html - [similar]
- 26.8. test --- Python 用回帰テストパッケージ — Python 3.6.5 ドキュメント 7572
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
main が無い場合は unittest.TestLoader.loadTestsFromModule からテストをロードしてテストを実行します。 実行する...
、以下の関数を定義しています: test.support. forget ( module_name ) ¶ モジュール名 module_name を sys.modules か...
を渡すことも許可されています。その場合、文字列は sys.module のキーでなければなりません。指定された各モジュール...
は、 unittest.TestLoader.loadTestsFromModule() でスキャンされます。この関数は、よく次のような t...
- https://man.plustar.jp/python/library/test.html - [similar]
- 11.9. linecache --- テキストラインにランダムアクセスする — Python 3.6.5 ドキュ... 7366
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
れています: linecache. getline ( filename , lineno , module_globals=None ) ¶ filename という名前のファイルから...
他のファイルシステムでないimport元に対応するためまず module_globals の PEP 302 __loader__ をチェックし、そのあ...
トリを確認します。 linecache. lazycache ( filename , module_globals ) ¶ Capture enough detail about a non-file...
-based module to permit getting its lines later via getline() ev...
- https://man.plustar.jp/python/library/linecache.html - [similar]
- 28.4. zipapp --- 実行可能な python zip 書庫を管理する — Python 3.6.5 ドキュメン... 6977
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
定します。 "pkg.mod" の場所はアーカイブ内の package/module です。 "fn" は指定した module から呼出すことのでき...
る関数です。 __main__.py ファイルが module から呼出すことのできる関数を実行します。 書庫をコピ...
合に限り、指定することができます。 main 引数は "pkg.module:callable" の形式を取り、 アーカイブは "pkg.module"...
dalone Applications with zipapp ¶ Using the zipapp module, it is possible to create self-contained Python pr...
- https://man.plustar.jp/python/library/zipapp.html - [similar]
- 1. Distutilsの紹介 — Python 3.6.5 ドキュメント 6874
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python モジュールの
...
setup setup ( name = 'foo' , version = '1.0' , py_modules = [ 'foo' ], ) 以下のことに注意してください: Dist...
されます。 If an end-user wishes to install your foo module, all she has to do is download foo-1.0.tar.gz (or...
¶ このドキュメントを読んでいるのなら、モジュール (module)、拡張モジュール (extension) などが何を表すのかをよ...
on 用語について以下のような用語集を示しておきます: module Python においてコードを再利用する際の基本単位: すな...
- https://man.plustar.jp/python/distutils/introduction.html - [similar]
- 29.9. traceback --- スタックトレースの表示または取得 — Python 3.6.5 ドキュメン... 6725
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
す: *** print_tb: File "<doctest...>", line 10, in <module> lumberjack() *** print_exception: Traceback (most...
cent call last): File "<doctest...>", line 10, in <module> lumberjack() File "<doctest...>", line 4, in lumb...
cent call last): File "<doctest...>", line 10, in <module> lumberjack() File "<doctest...>", line 4, in lumb...
all last):\n', ' File "<doctest...>", line 10, in <module>\n lumberjack()\n', ' File "<doctest...>", line 4,...
- https://man.plustar.jp/python/library/traceback.html - [similar]
- 6. モジュール (module) — Python 3.6.5 ドキュメント 6679
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python チュートリア
...
ル » 6. モジュール (module) ¶ Python インタプリタを終了させ、再び起動すると、...
ス上で使う方法があります。このファイルを モジュール (module) と呼びます。モジュールにある定義は、他のモジュール...
fibo.py を作成してみましょう: # Fibonacci numbers module def fib ( n ): # write Fibonacci series up to n a...
場合には、例えば import importlib; importlib.reload(modulename) のように importlib.reload() を使ってください。...
- https://man.plustar.jp/python/tutorial/modules.html - [similar]
- What's New In Python 3.4 — Python 3.6.5 ドキュメント 6679
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...
(複数の issue に関係). インポートシステムのための ModuleSpec 型 ( PEP 451 ). (インポーターの作者に影響します...
t recent call last): File "<stdin>" , line 1 , in <module> LookupError : 'hex' is not a text encoding; use c...
t recent call last): File "<stdin>" , line 1 , in <module> LookupError : 'rot13' is not a text encoding; use...
t recent call last): File "<stdin>" , line 1 , in <module> LookupError : 'hex' is not a text encoding; use c...
- https://man.plustar.jp/python/whatsnew/3.4.html - [similar]
- What's New In Python 3.5 — Python 3.6.5 ドキュメント 6679
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...
t recent call last): File "<stdin>" , line 1 , in <module> TypeError : %b requires bytes, or an object that...
t recent call last): File "<stdin>" , line 1 , in <module> RuntimeError : generator raised StopIteration __f...
-j option to enable parallel building of extension modules. (Contributed by Antoine Pitrou in bpo-5309 .) Th...
e distutils module now supports xz compression, and can be enabled by...
- https://man.plustar.jp/python/whatsnew/3.5.html - [similar]
- 31.2. pkgutil --- パッケージ拡張ユーティリティ — Python 3.6.5 ドキュメント 6622
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
サポートに関するユーティリティです。 class pkgutil. ModuleInfo ( module_finder , name , ispkg ) ¶ モジュールの...
ated that searches the current sys.path , plus any modules that are frozen or built-in. ImpImporter は現在の...
ん。 pkgutil. find_loader ( fullname ) ¶ Retrieve a module loader for the given fullname . これは後方互換性の...
こでのほどんどの失敗を ImportError に変換し、完全な ModuleSpec を返す代わりにローダのみを返しています。 バージ...
- https://man.plustar.jp/python/library/pkgutil.html - [similar]