Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 51 - 60 of about 164 for sys (0.095 sec.)
5. 組み込み例外 — Python 3.6.5 ドキュメント 5721
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... に使われます: try : ... except SomeException : tb = sys . exc_info ()[ 2 ] raise OtherException ( ... ) . ... でモジュールが見つからない場合に送出されます。また、 sys.modules に None が含まれる場合にも送出されます。 バ ... r を継承しています。インタープリタが最大再帰深度 ( sys.getrecursionlimit() を参照) の超過を検出すると送出 ... これは IndentationError のサブクラスです。 exception SystemError ¶ インタプリタが内部エラーを発見したが、状 ...
https://man.plustar.jp/python/library/exceptions.html - [similar]
17.2. multiprocessing --- プロセスベースの並列処理 — Python 3.6.5 ドキュメント 5721
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... the named semaphores is a serious matter since the system allows only a limited number, and they will not ... インタープリターのパスを設定します。(デフォルトでは sys.executable が使用されます)。コードに組み込むときは ... る必要があります set_executable ( os . path . join ( sys . exec_prefix , 'pythonw.exe' )) 子プロセスを作成す ... ocessName)s] %(message)s' のフォーマットを使用して sys.stderr へ出力を送るハンドラーを追加します。 以下に ...
https://man.plustar.jp/python/library/multiprocessing.html - [similar]
36.1. optparse --- コマンドラインオプション解析器 — Python 3.6.5 ドキュメント 5721
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... dout yourscript の中身は実行時に決まります (通常は sys.argv[0] になります)。 36.1.1. 背景 ¶ optparse は、 ... l や execv に引き渡すものです。Python では、引数は sys.argv[1:] の要素となります。( sys.argv[0] は実行しよ ... 、「語 (word)」という用語も使います。 場合によっては sys.argv[1:] 以外の引数リストを代入する方が望ましいこと ... があるので、「引数」は「 sys.argv[1:] または sys.argv[1:] の代替として提供される ...
https://man.plustar.jp/python/library/optparse.html - [similar]
26.4. unittest --- ユニットテストフレームワーク — Python 3.6.5 ドキュメント 5721
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... sion of the library. pass @unittest . skipUnless ( sys . platform . startswith ( "win" ), "requires Windo ... たテストの総数です。 buffer ¶ True が設定されると、 sys.stdout と sys.stderr は、 startTest() から stopTes ... ばれるまでの間バッファリングされます。実際に、結果が sys.stdout と sys.stderr に出力されるのは、テストが失敗 ... 想定外の例外が発生した場合に呼び出されます。 err は sys.exc_info() が返すタプル (type, value, traceback) で ...
https://man.plustar.jp/python/library/unittest.html - [similar]
What's New In Python 3.6 — Python 3.6.5 ドキュメント 5721
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... たときの 順序に一致した ものになりました。 DTrace と SystemTap の プローブのサポート が追加されました。 新し ... ional and its API is considered stable. A new file system path protocol has been implemented to support p ... milar. On Linux, os.urandom() now blocks until the system urandom entropy pool is initialized to increase ... Windows の改善: PEP 528 and PEP 529 , Windows filesystem and console encoding changed to UTF-8. py.exe ラ ...
https://man.plustar.jp/python/whatsnew/3.6.html - [similar]
10. API リファレンス — Python 3.6.5 ドキュメント 5676
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python モジュールの ... ipt_name setup.pyスクリプトの名前 - デフォルトでは sys.argv[0] 文字列 script_args setup スクリプトの引数 ... です。 script は exec() で読み込まれるファイルです。 sys.argv[0] は、呼び出しのために script_name と置換され ... rgs は文字列のリストです。もし提供されていた場合、 sys.argv[1:] は、呼び出しのために script_args で置換さ ... スタンスに保存される)。 commandline コマンドライン ( sys.argv[1:] または script_args ) がパーズされたあとに ...
https://man.plustar.jp/python/distutils/apiref.html - [similar]
24.2. cmd --- 行指向のコマンドインタープリタのサポート — Python 3.6.5 ドキュメ... 5676
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 使用するファイルオブジェクトを指定します。省略時には sys.stdin と sys.stdout が使用されます。 引数に渡した ... マンド読み込むために input() を使います。偽ならば、 sys.stdout.write() と sys.stdin.readline() が使われます ... 再実行するために cmdqueue に追加します: import cmd , sys from turtle import * class TurtleShell ( cmd . Cmd ...
https://man.plustar.jp/python/library/cmd.html - [similar]
16.7. logging.config --- ロギングの環境設定 — Python 3.6.5 ドキュメント 5676
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... スを書くことも出来ます。このクラスへのパラメータは、 sys.stderr のような外部オブジェクトを必要とすることもあ ... evel : INFO filters : [ allow_foo ] stream : ext://sys.stdout file : class : logging.handlers.RotatingFil ... 4 backupCount : 3 id が console であるハンドラが、 sys.stdout を根底のストリームにして、 logging.StreamHa ... 外部オブジェクトへのアクセス ¶ 環境設定が、例えば sys.stderr のような、設定の外部のオブジェクトへの参照を ...
https://man.plustar.jp/python/library/logging.config.html - [similar]
3. Windows で Python を使う — Python 3.6.5 ドキュメント 5676
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python のセットアッ ... hs)" を有効にするか、レジストリ HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem@LongPathsE ... は既に存在しているものと仮定しています): C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Python 3.6 3.4. W ... の内容のファイルを作成してください #! python import sys sys . stdout . write ( "hello from Python %s \n " ... % ( sys . version ,)) hello.py が存在するディレクトリで、下 ...
https://man.plustar.jp/python/using/windows.html - [similar]
What's New in Python 2.0 — Python 3.6.5 ドキュメント 5676
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... hanged for your Python installation by calling the sys.setdefaultencoding(encoding) function in a customi ... int が持つ便利さと単純さに欠けています。もう一つは sys.stdout に新しい値を代入し、あとで元の値に戻すという ... 、このように遥かに簡単に書くことが出来ます: print >> sys . stderr , "Warning: action field not supplied" im ... mostly by Trent Mick of ActiveState. (Confusingly, sys.platform is still 'win32' on Win64 because it seem ...
https://man.plustar.jp/python/whatsnew/2.0.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 NEXT