per page, with , order by , clip by
Results of 1 - 10 of about 26 for expanduser (0.007 sec.)
netrc --- netrc ファイルの処理 — Python 3.14.8 ドキュメント 12266
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ファイルフォーマット » netrc --- netrc ファイルの処理 テーマ 自動 ライト ダーク | netrc --- netrc ファイルの処理 ¶ ソースコード: Li ... ifies the file to parse. If no argument is given, the file .netrc in the user's home directory -- as determined by os.path.expanduser() -- will be read. Otherwise, a FileNotFoundError exception will be raised. Parse errors will raise NetrcParseError with d ... ェックが追加されました。 バージョン 3.7 で変更: 引数で file が渡されなかったときは、 .netrc ファイルの場所を探すのに os.path.expanduser() が使われるようになりました。 バージョン 3.10 で変更: netrc は、ロケール固有のエンコーディングを使用する前に、 UTF-8 での ... エントリ 場合 user インスタンス host クラス argument os NetrcParseError バージョン トークン タプル default ftp instance path expanduser read 目次 netrc --- netrc ファイルの処理 netrc オブジェクト 前のトピックへ tomllib --- TOML ファイルの解析 次のトピックへ ...
https://man.mtool.work/python/3.14/library/netrc.html
netrc --- netrc ファイルの処理 — Python 3.14.8 ドキュメント 12266
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ファイルフォーマット » netrc --- netrc ファイルの処理 テーマ 自動 ライト ダーク | netrc --- netrc ファイルの処理 ¶ ソースコード: Li ... ifies the file to parse. If no argument is given, the file .netrc in the user's home directory -- as determined by os.path.expanduser() -- will be read. Otherwise, a FileNotFoundError exception will be raised. Parse errors will raise NetrcParseError with d ... ェックが追加されました。 バージョン 3.7 で変更: 引数で file が渡されなかったときは、 .netrc ファイルの場所を探すのに os.path.expanduser() が使われるようになりました。 バージョン 3.10 で変更: netrc は、ロケール固有のエンコーディングを使用する前に、 UTF-8 での ... 書です。 関連キーワード netrc エントリ user インスタンス host argument NetrcParseError トークン タプル default instance path expanduser read exception raise security エンコーディング テキスト login account password ホスト 辞書 ソースコード 目次 netrc --- net ...
https://man.mtool.work/python/3.14/library/netrc.html
pathlib --- オブジェクト指向のファイルシステムパス — Python 3.14.8 ドキュメント 10728
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ファイルとディレクトリへのアクセス » pathlib --- オブジェクト指向のファイルシステムパス テーマ 自動 ライト ダーク | pathlib --- オブ ... sencode() makes it strictly impure. パスの展開と解決 ¶ classmethod Path. home ( ) ¶ ユーザーのホームディレクトリ ( os.path.expanduser() での ~ の返り値) を表す新しいパスオブジェクトを返します。ホームディレクトリが解決できない場合は、 RuntimeError を送出しま ... す。 >>> Path . home () PosixPath('/home/antoine') Added in version 3.5. Path. expanduser ( ) ¶ パス要素 ~ および ~user を os.path.expanduser() が返すように展開した新しいパスオブジェクトを返します。ホームディレク ... トリが解決できない場合は、 RuntimeError を送出します。 >>> p = PosixPath ( '~/films/Monty Python' ) >>> p . expanduser () PosixPath('/home/eric/films/Monty Python') Added in version 3.5. classmethod Path. cwd ( ) ¶ ( os.getcwd() が返す) 現在 ...
https://man.mtool.work/python/3.14/library/pathlib.html
pathlib --- オブジェクト指向のファイルシステムパス — Python 3.14.8 ドキュメント 10728
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ファイルとディレクトリへのアクセス » pathlib --- オブジェクト指向のファイルシステムパス テーマ 自動 ライト ダーク | pathlib --- オブ ... sencode() makes it strictly impure. パスの展開と解決 ¶ classmethod Path. home ( ) ¶ ユーザーのホームディレクトリ ( os.path.expanduser() での ~ の返り値) を表す新しいパスオブジェクトを返します。ホームディレクトリが解決できない場合は、 RuntimeError を送出しま ... す。 >>> Path . home () PosixPath('/home/antoine') Added in version 3.5. Path. expanduser ( ) ¶ パス要素 ~ および ~user を os.path.expanduser() が返すように展開した新しいパスオブジェクトを返します。ホームディレク ... トリが解決できない場合は、 RuntimeError を送出します。 >>> p = PosixPath ( '~/films/Monty Python' ) >>> p . expanduser () PosixPath('/home/eric/films/Monty Python') Added in version 3.5. classmethod Path. cwd ( ) ¶ ( os.getcwd() が返す) 現在 ...
https://man.mtool.work/python/3.14/library/pathlib.html
readline --- GNU readline のインターフェース — Python 3.14.8 ドキュメント 10117
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » テキスト処理サービス » readline --- GNU readline のインターフェース テーマ 自動 ライト ダーク | readline --- GNU readline のインター ... ions from the user's PYTHONSTARTUP file. import atexit import os import readline histfile = os . path . join ( os . path . expanduser ( "~" ), ".python_history" ) try : readline . read_history_file ( histfile ) # default history len is -1 (infinite), which ... 並行して対話セッションがサポートされます: import atexit import os import readline histfile = os . path . join ( os . path . expanduser ( "~" ), ".python_history" ) try : readline . read_history_file ( histfile ) h_len = readline . get_current_history_length ... nsole ( code . InteractiveConsole ): def __init__ ( self , locals = None , filename = "<console>" , histfile = os . path . expanduser ( "~/.console-history" )): code . InteractiveConsole . __init__ ( self , locals , filename ) self . init_history ( histfil ...
https://man.mtool.work/python/3.14/library/readline.html
readline --- GNU readline のインターフェース — Python 3.14.8 ドキュメント 10117
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » テキスト処理サービス » readline --- GNU readline のインターフェース テーマ 自動 ライト ダーク | readline --- GNU readline のインター ... ions from the user's PYTHONSTARTUP file. import atexit import os import readline histfile = os . path . join ( os . path . expanduser ( "~" ), ".python_history" ) try : readline . read_history_file ( histfile ) # default history len is -1 (infinite), which ... 並行して対話セッションがサポートされます: import atexit import os import readline histfile = os . path . join ( os . path . expanduser ( "~" ), ".python_history" ) try : readline . read_history_file ( histfile ) h_len = readline . get_current_history_length ... nsole ( code . InteractiveConsole ): def __init__ ( self , locals = None , filename = "<console>" , histfile = os . path . expanduser ( "~/.console-history" )): code . InteractiveConsole . __init__ ( self , locals , filename ) self . init_history ( histfil ...
https://man.mtool.work/python/3.14/library/readline.html
os.path --- 一般的なパス名操作 — Python 3.14.8 ドキュメント 8265
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ファイルとディレクトリへのアクセス » os.path --- 一般的なパス名操作 テーマ 自動 ライト ダーク | os.path --- 一般的なパス名操作 ¶ ソ ... とは異なり、Python はあらゆるパス展開を 自動的には 行いません。アプリケーションがシェルのようなパス展開を必要とした場合は、 expanduser() や expandvars() といった関数を明示的に呼び出すことで行えます。( glob モジュールも参照してください) 参考 pathlib モジュー ... exists() on platforms lacking os.lstat() . バージョン 3.6 で変更: path-like object を受け入れるようになりました。 os.path. expanduser ( path ) ¶ Unix および Windows では、与えられた引数の先頭のパス要素 ~ 、または ~user を、 user のホームディレクトリのパスに ...
https://man.mtool.work/python/3.14/library/os.path.html
shutil --- 高水準のファイル操作 — Python 3.14.8 ドキュメント 8265
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ファイルとディレクトリへのアクセス » shutil --- 高水準のファイル操作 テーマ 自動 ライト ダーク | shutil --- 高水準のファイル操作 ¶ ... された tar ファイルアーカイブを作成します: >>> from shutil import make_archive >>> import os >>> archive_name = os . path . expanduser ( os . path . join ( '~' , 'myarchive' )) >>> root_dir = os . path . expanduser ( os . path . join ( '~' , '.ssh' )) >>> m ... ようにします。この場合以下のようにします。 >>> from shutil import make_archive >>> import os >>> archive_name = os . path . expanduser ( os . path . join ( '~' , 'myarchive' )) >>> make_archive ( ... archive_name , ... 'tar' , ... root_dir = 'tmp/root' , .. ...
https://man.mtool.work/python/3.14/library/shutil.html
os.path --- 一般的なパス名操作 — Python 3.14.8 ドキュメント 8265
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ファイルとディレクトリへのアクセス » os.path --- 一般的なパス名操作 テーマ 自動 ライト ダーク | os.path --- 一般的なパス名操作 ¶ ソ ... とは異なり、Python はあらゆるパス展開を 自動的には 行いません。アプリケーションがシェルのようなパス展開を必要とした場合は、 expanduser() や expandvars() といった関数を明示的に呼び出すことで行えます。( glob モジュールも参照してください) 参考 pathlib モジュー ... exists() on platforms lacking os.lstat() . バージョン 3.6 で変更: path-like object を受け入れるようになりました。 os.path. expanduser ( path ) ¶ Unix および Windows では、与えられた引数の先頭のパス要素 ~ 、または ~user を、 user のホームディレクトリのパスに ...
https://man.mtool.work/python/3.14/library/os.path.html
shutil --- 高水準のファイル操作 — Python 3.14.8 ドキュメント 8265
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ファイルとディレクトリへのアクセス » shutil --- 高水準のファイル操作 テーマ 自動 ライト ダーク | shutil --- 高水準のファイル操作 ¶ ... された tar ファイルアーカイブを作成します: >>> from shutil import make_archive >>> import os >>> archive_name = os . path . expanduser ( os . path . join ( '~' , 'myarchive' )) >>> root_dir = os . path . expanduser ( os . path . join ( '~' , '.ssh' )) >>> m ... ようにします。この場合以下のようにします。 >>> from shutil import make_archive >>> import os >>> archive_name = os . path . expanduser ( os . path . join ( '~' , 'myarchive' )) >>> make_archive ( ... archive_name , ... 'tar' , ... root_dir = 'tmp/root' , .. ...
https://man.mtool.work/python/3.14/library/shutil.html
PREV 1 2 3 NEXT