📜  python find dir - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:54.601000             🧑  作者: Mango

代码示例2
import os.path
from os import path

def main():

    print ("Is it File?" + str(path.isfile('guru99.txt')))
    print ("Is it File?" + str(path.isfile('myDirectory')))
if __name__== "__main__":
    main()