Results of 1 - 10 of about 12 for modname (0.011 sec.)
- 9. クラス — Python 3.14.8 ドキュメント 13018
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python チュートリアル » 9. クラス テーマ 自動 ライト ダーク | 9. クラス ¶ クラスはデータと機能を組み合わせる方法を提供します。 新規にクラスを作成することで、新し
...-- 例えば式 z.real で、 real はオブジェクト z の属性です。厳密にいえば、モジュール内の名前に対する参照は属性の参照です。式 modname.funcname では、 modname はあるモジュールオブジェクトで、 funcname はその属性です。この場合には、モジュールの属性とモジュー...性は読取り専用にも、書込み可能にもできます。書込み可能であれば、属性に代入することができます。モジュール属性は書込み可能で、 modname.the_answer = 42 と書くことができます。書込み可能な属性は、 del 文で削除することもできます。例えば、 del modname.the_answer...は、 modname で指定されたオブジェクトから属性 the_answer を除去します。 名前空間は様々な時点で作成され、その寿命も様々です。組み込みの名... - https://man.mtool.work/python/3.14/tutorial/classes.html
- 9. クラス — Python 3.14.8 ドキュメント 12169
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python チュートリアル » 9. クラス テーマ 自動 ライト ダーク | 9. クラス ¶ クラスはデータと機能を組み合わせる方法を提供します。 新規にクラスを作成することで、新し
...-- 例えば式 z.real で、 real はオブジェクト z の属性です。厳密にいえば、モジュール内の名前に対する参照は属性の参照です。式 modname.funcname では、 modname はあるモジュールオブジェクトで、 funcname はその属性です。この場合には、モジュールの属性とモジュー...性は読取り専用にも、書込み可能にもできます。書込み可能であれば、属性に代入することができます。モジュール属性は書込み可能で、 modname.the_answer = 42 と書くことができます。書込み可能な属性は、 del 文で削除することもできます。例えば、 del modname.the_answer...は、 modname で指定されたオブジェクトから属性 the_answer を除去します。 名前空間は様々な時点で作成され、その寿命も様々です。組み込みの名... - https://man.mtool.work/python/3.14/tutorial/classes.html
- プログラミング FAQ — Python 3.14.8 ドキュメント 8755
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python よくある質問 » プログラミング FAQ テーマ 自動 ライト ダーク | プログラミング FAQ ¶ 一般的な質問 ¶ ブレークポイントやステップ実行ができる、ソースコードレベ
...再解析が繰り返されることになります。変更されさたモジュールの再読込を強制するには、こうしてください: import importlib import modname importlib . reload ( modname ) Warning: this technique is not 100% fool-proof. In particular, modules containing statement...s like: from modname import some_objects のような文を含むモジュールは、インポートされたオブジェクトの古いバージョンを使い続けます。そのモジュー... - https://man.mtool.work/python/3.14/faq/programming.html
- What's New In Python 3.12 — Python 3.14.8 ドキュメント 8755
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.12 テーマ 自動 ライト ダーク | What's New In Python 3.12 ¶ 編集者 : Adam Turner この記事では Python 3.11 と比較した
...load_source() See below Replace imp.load_source() with: import importlib.util import importlib.machinery def load_source ( modname , filename ): loader = importlib . machinery . SourceFileLoader ( modname , filename ) spec = importlib . util . spec_from..._file_location ( modname , filename , loader = loader ) module = importlib . util . module_from_spec ( spec ) # The module is always executed and n... - https://man.mtool.work/python/3.14/whatsnew/3.12.html
- プログラミング FAQ — Python 3.14.8 ドキュメント 8755
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python よくある質問 » プログラミング FAQ テーマ 自動 ライト ダーク | プログラミング FAQ ¶ 一般的な質問 ¶ ブレークポイントやステップ実行ができる、ソースコードレベ
...再解析が繰り返されることになります。変更されさたモジュールの再読込を強制するには、こうしてください: import importlib import modname importlib . reload ( modname ) Warning: this technique is not 100% fool-proof. In particular, modules containing statement...s like: from modname import some_objects のような文を含むモジュールは、インポートされたオブジェクトの古いバージョンを使い続けます。そのモジュー... - https://man.mtool.work/python/3.14/faq/programming.html
- What's New In Python 3.12 — Python 3.14.8 ドキュメント 8755
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.12 テーマ 自動 ライト ダーク | What's New In Python 3.12 ¶ 編集者 : Adam Turner この記事では Python 3.11 と比較した
...load_source() See below Replace imp.load_source() with: import importlib.util import importlib.machinery def load_source ( modname , filename ): loader = importlib . machinery . SourceFileLoader ( modname , filename ) spec = importlib . util . spec_from..._file_location ( modname , filename , loader = loader ) module = importlib . util . module_from_spec ( spec ) # The module is always executed and n... - https://man.mtool.work/python/3.14/whatsnew/3.12.html
- 6. モジュール — Python 3.14.8 ドキュメント 7906
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python チュートリアル » 6. モジュール テーマ 自動 ライト ダーク | 6. モジュール ¶ Python インタプリタを終了させ、再び起動すると、これまでに行ってきた定義 (関数や
...ジュールで使うことができます。一方、自分が行っている操作をきちんと理解していれば、モジュール内の関数を参照するのと同じ表記法 modname.itemname で、モジュールのグローバル変数をいじることもできます。 モジュールは他のモジュールをインポートできます。 import 文... - https://man.mtool.work/python/3.14/tutorial/modules.html
- 6. モジュール — Python 3.14.8 ドキュメント 7906
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python チュートリアル » 6. モジュール テーマ 自動 ライト ダーク | 6. モジュール ¶ Python インタプリタを終了させ、再び起動すると、これまでに行ってきた定義 (関数や
...ジュールで使うことができます。一方、自分が行っている操作をきちんと理解していれば、モジュール内の関数を参照するのと同じ表記法 modname.itemname で、モジュールのグローバル変数をいじることもできます。 モジュールは他のモジュールをインポートできます。 import 文... - https://man.mtool.work/python/3.14/tutorial/modules.html
- What's New in Python 2.5 — Python 3.14.8 ドキュメント 7481
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New in Python 2.5 テーマ 自動 ライト ダーク | What's New in Python 2.5 ¶ 著者 : A.M. Kuchling This article explains the new feature
...mport D # Imports A.B.D from .. import E # Imports A.E from ..F import G # Imports A.F.G このピリオドによる書き方は import modname 形式のインポート文では使えず、 from ... import 形式でのみ使えます。 参考 PEP 328 - マルチラインインポートと、絶対/相対イン... - https://man.mtool.work/python/3.14/whatsnew/2.5.html
- What's New In Python 3.6 — Python 3.14.8 ドキュメント 7481
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.6 テーマ 自動 ライト ダーク | What's New In Python 3.6 ¶ エディタ : Elvis Pranskevichus < elvis @ magic . io >, Yur
...me for a given path. (Contributed by Yury Selivanov in bpo-13248 .) traceback.Ignore class and traceback.usage , traceback.modname , traceback.fullmodname , traceback.find_lines_from_code , traceback.find_lines , traceback.find_strings , traceback.find_... - https://man.mtool.work/python/3.14/whatsnew/3.6.html