Script/ファイル有無/一覧
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
[[書き比べスクリプト・リファレンス]]
* 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で指定されたファイルまたはディレクトリがあれば、t...
終了行:
[[書き比べスクリプト・リファレンス]]
* 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で指定されたファイルまたはディレクトリがあれば、t...
ページ名: