Results of 1 - 10 of about 53 for environ (0.011 sec.)
- wsgiref --- WSGI ユーティリティとリファレンス実装 — Python 3.14.8 ドキュメント 13544
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » wsgiref --- WSGI ユーティリティとリファレンス実装 テーマ 自動 ライト ダーク | wsgiref --- WSGI
...ecification that can be used to add WSGI support to a web server or framework. It provides utilities for manipulating WSGI environment variables and response headers, base classes for implementing WSGI servers, a demo HTTP server that serves WSGI applic...readthedocs.io に、WSGIに関するさらなる情報と、チュートリアルやその他のリソースへのリンクがあります。 wsgiref.util -- WSGI environment utilities ¶ このモジュールは WSGI 環境で使う様々なユーティリティ関数を提供します。 WSGI 環境は PEP 3333 で記述されてい...るような HTTP リクエスト変数を含む辞書です。 environ パラメータを取るすべての関数は WSGI 準拠の辞書を与えられることを期待しています; 細かい仕様については PEP 3333 を、型アノテ... - https://man.mtool.work/python/3.14/library/wsgiref.html
- wsgiref --- WSGI ユーティリティとリファレンス実装 — Python 3.14.8 ドキュメント 13544
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » wsgiref --- WSGI ユーティリティとリファレンス実装 テーマ 自動 ライト ダーク | wsgiref --- WSGI
...ecification that can be used to add WSGI support to a web server or framework. It provides utilities for manipulating WSGI environment variables and response headers, base classes for implementing WSGI servers, a demo HTTP server that serves WSGI applic...readthedocs.io に、WSGIに関するさらなる情報と、チュートリアルやその他のリソースへのリンクがあります。 wsgiref.util -- WSGI environment utilities ¶ このモジュールは WSGI 環境で使う様々なユーティリティ関数を提供します。 WSGI 環境は PEP 3333 で記述されてい...るような HTTP リクエスト変数を含む辞書です。 environ パラメータを取るすべての関数は WSGI 準拠の辞書を与えられることを期待しています; 細かい仕様については PEP 3333 を、型アノテ... - https://man.mtool.work/python/3.14/library/wsgiref.html
- posix --- 最も一般的な POSIX システムコール群 — Python 3.14.8 ドキュメント 10582
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Unix-specific services » posix --- 最も一般的な POSIX システムコール群 テーマ 自動 ライト ダーク | posix --- 最も一般的な POSIX シス
...posix . In addition, os provides some additional functionality, such as automatically calling putenv() when an entry in os.environ is changed. エラーは例外として報告されます; よくある例外は型エラーです。一方、システムコールから報告されたエラーは以下に述...内容 ¶ In addition to many functions described in the os module documentation, posix defines the following data item: posix. environ ¶ インタプリタが起動したときの環境を表す文字列辞書です。キーと値は Unix ではバイト列、 Windows では文字列です。例えば、 en...viron[b'HOME'] (Windows では environ['HOME'] ) はホームディレクトリのパス名で、 C の getenv("HOME") と同じ値です。 この辞書を編集しても、 execv() 、 popen() 、... - https://man.mtool.work/python/3.14/library/posix.html
- posix --- 最も一般的な POSIX システムコール群 — Python 3.14.8 ドキュメント 10582
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Unix-specific services » posix --- 最も一般的な POSIX システムコール群 テーマ 自動 ライト ダーク | posix --- 最も一般的な POSIX シス
...posix . In addition, os provides some additional functionality, such as automatically calling putenv() when an entry in os.environ is changed. エラーは例外として報告されます; よくある例外は型エラーです。一方、システムコールから報告されたエラーは以下に述...内容 ¶ In addition to many functions described in the os module documentation, posix defines the following data item: posix. environ ¶ インタプリタが起動したときの環境を表す文字列辞書です。キーと値は Unix ではバイト列、 Windows では文字列です。例えば、 en...viron[b'HOME'] (Windows では environ['HOME'] ) はホームディレクトリのパス名で、 C の getenv("HOME") と同じ値です。 この辞書を編集しても、 execv() 、 popen() 、... - https://man.mtool.work/python/3.14/library/posix.html
- os --- 雑多なオペレーティングシステムインターフェース — Python 3.14.8 ドキュメ... 9957
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 汎用オペレーティングシステムサービス » os --- 雑多なオペレーティングシステムインターフェース テーマ 自動 ライト ダーク | os --- 雑多
...nges in those lower level APIs, other higher level APIs also exhibit different default behaviours: Command line arguments, environment variables and filenames are decoded to text using the UTF-8 encoding. os.fsdecode() and os.fsencode() use the UTF-8 en...(see the PyConfig_Read() function). It can be enabled or disabled using the -X utf8 command line option and the PYTHONUTF8 environment variable. If the PYTHONUTF8 environment variable is not set at all, then the interpreter defaults to using the current...能を提供しています。 os. ctermid ( ) ¶ プロセスの制御端末に対応するファイル名を返します。 Availability : Unix, not WASI. os. environ ¶ A mapping object where keys and values are strings that represent the process environment. For example, environ['HOME']... - https://man.mtool.work/python/3.14/library/os.html
- os --- 雑多なオペレーティングシステムインターフェース — Python 3.14.8 ドキュメ... 9481
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 汎用オペレーティングシステムサービス » os --- 雑多なオペレーティングシステムインターフェース テーマ 自動 ライト ダーク | os --- 雑多
...nges in those lower level APIs, other higher level APIs also exhibit different default behaviours: Command line arguments, environment variables and filenames are decoded to text using the UTF-8 encoding. os.fsdecode() and os.fsencode() use the UTF-8 en...(see the PyConfig_Read() function). It can be enabled or disabled using the -X utf8 command line option and the PYTHONUTF8 environment variable. If the PYTHONUTF8 environment variable is not set at all, then the interpreter defaults to using the current...能を提供しています。 os. ctermid ( ) ¶ プロセスの制御端末に対応するファイル名を返します。 Availability : Unix, not WASI. os. environ ¶ A mapping object where keys and values are strings that represent the process environment. For example, environ['HOME']... - https://man.mtool.work/python/3.14/library/os.html
- time --- 時刻データへのアクセスと変換 — Python 3.14.8 ドキュメント 7382
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 汎用オペレーティングシステムサービス » time --- 時刻データへのアクセスと変換 テーマ 自動 ライト ダーク | time --- 時刻データへのアク
...の時刻を返します。 Added in version 3.7. time. tzset ( ) ¶ Reset the time conversion rules used by the library routines. The environment variable TZ specifies how this is done. It will also set the variables tzname (from the TZ environment variable), time...や '+') を付けてはいけないところだけが違います。時刻が指定されていなければ、デフォルトの値 02:00:00 になります。 >>> os . environ [ 'TZ' ] = 'EST+05EDT,M4.1.0,M10.5.0' >>> time . tzset () >>> time . strftime ( ' %X %x %Z' ) '02:07:36 05/08/03 EDT' >>>...os . environ [ 'TZ' ] = 'AEST-10AEDT-11,M10.5.0,M3.5.0' >>> time . tzset () >>> time . strftime ( ' %X %x %Z' ) '16:08:12 05/08/03 AEST... - https://man.mtool.work/python/3.14/library/time.html
- time --- 時刻データへのアクセスと変換 — Python 3.14.8 ドキュメント 7382
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 汎用オペレーティングシステムサービス » time --- 時刻データへのアクセスと変換 テーマ 自動 ライト ダーク | time --- 時刻データへのアク
...の時刻を返します。 Added in version 3.7. time. tzset ( ) ¶ Reset the time conversion rules used by the library routines. The environment variable TZ specifies how this is done. It will also set the variables tzname (from the TZ environment variable), time...や '+') を付けてはいけないところだけが違います。時刻が指定されていなければ、デフォルトの値 02:00:00 になります。 >>> os . environ [ 'TZ' ] = 'EST+05EDT,M4.1.0,M10.5.0' >>> time . tzset () >>> time . strftime ( ' %X %x %Z' ) '02:07:36 05/08/03 EDT' >>>...os . environ [ 'TZ' ] = 'AEST-10AEDT-11,M10.5.0,M3.5.0' >>> time . tzset () >>> time . strftime ( ' %X %x %Z' ) '16:08:12 05/08/03 AEST... - https://man.mtool.work/python/3.14/library/time.html
- unittest.mock --- モックオブジェクトライブラリ — Python 3.14.8 ドキュメント 7218
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » unittest.mock --- モックオブジェクトライブラリ テーマ 自動 ライト ダーク | unittest.mock --- モックオブジェクトライブラ
...osing which methods to wrap: >>> import os >>> import unittest >>> from unittest.mock import patch >>> @patch . dict ( 'os.environ' , { 'newkey' : 'newvalue' }) ... class TestSample ( unittest . TestCase ): ... def test_sample ( self ): ... self . asser...tEqual ( os . environ [ 'newkey' ], 'newvalue' ) If you want to use a different prefix for your test, you can inform the patchers of the differe...ed_foo [ 'spam' ] = 'eggs' ... >>> assert foo == {} >>> assert patched_foo == {} >>> import os >>> with patch . dict ( 'os.environ' , { 'newkey' : 'newvalue' }): ... print ( os . environ [ 'newkey' ]) ... newvalue >>> assert 'newkey' not in os . environ... - https://man.mtool.work/python/3.14/library/unittest.mock.html
- What's New In Python 3.2 — Python 3.14.8 ドキュメント 7218
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.2 テーマ 自動 ライト ダーク | What's New In Python 3.2 ¶ 著者 : Raymond Hettinger This article explains the new fea
...rough U+00FF which are translatable to bytes using Latin-1 encoding. These strings are used for the keys and values in the environment dictionary and for response headers and statuses in the start_response() function. They must follow RFC 2616 with resp...Values yielded by an application or sent using the write() method must be byte strings. The start_response() function and environ must use native strings. The two cannot be mixed. For server implementers writing CGI-to-WSGI pathways or other CGI-style...protocols, the users must to be able access the environment using native strings even though the underlying platform may have a different convention. To bridge this gap, the wsgi... - https://man.mtool.work/python/3.14/whatsnew/3.2.html