nano_exit

基礎的なことこそ、簡単な例が必要だと思うのです。

2019-03-15から1日間の記事一覧

存在をチェックするpythonコマンドまとめ

Path (File and/or Directory) import os path = "/test" os.path.exists( path ) # True or False path_file = "/test/test.dat" os.path.isfile( path_file ) # True or False path_dir = "/test/" os.path.isdir( path_dir ) # True or False 地味に英語…