#author("2022-06-12T12:19:25+09:00","default:tosiaki","tosiaki")
#author("2022-06-12T12:22:56+09:00","default:tosiaki","tosiaki")
[[書き比べスクリプト・リファレンス]]


* Python の場合 [#d03359ff]
* Python [#m0507f7e]

-''ディレクトリの有無を調べる''
** ファイル、ディレクトリの有無を調べる [#ff4a4e71]

 import os.path
 
 os.path.isdir(path)


** ディレクトリの一覧を取得 [#i625e7f7]

  import os.path
  
  os.path.listdir(path)


* PHP [#ecb7822e]

''bool file_exists( string filename )''
filenameで指定されたファイルまたはディレクトリがあれば、trueを返す。




トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS