Finding a file with a specific name with any extension

前端 未结 2 1099
抹茶落季
抹茶落季 2021-01-02 05:59

Please note that I want the compartment number to change.



        
2条回答
  •  梦毁少年i
    2021-01-02 06:40

    Look up:

    • glob — Find pathnames matching a pattern
    • fnmatch — Match filename against a pattern
    • pathinfo — Returns information about a file path

提交回复
热议问题