書き比べスクリプト・リファレンス

Python

ファイル、ディレクトリの有無を調べる

import os.path

os.path.isdir(path)

ディレクトリの一覧を取得

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

PHP

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


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS