globã使ãã°ããã ããªã®ã§ãããå®ç¨çã«ã¯çµ¶å¯¾ãã¹åããã£ã¬ã¯ããªã»ãã¡ã¤ã«ã®ãã£ã«ã¿ãªã³ã°ãã½ã¼ããè¡ã£ãæ¹ããããããã³ã¼ããããããé·ããªãã¾ãã ããããã£ã¬ã¯ããªä»¥ä¸ã®å ¨ãµããã£ã¬ã¯ããªãå¦çãã import os import glob # ããããã£ã¬ã¯ããªãã»ãããã sys.argv[1]ãªã© top_level_dir_path = '/home/user' # ãµããã£ã¬ã¯ããªããã¡ã¤ã«ã®çµ¶å¯¾ãã¹ã®ãªã¹ããå¾ã # å帰å¦çï¼ãµããã£ã¬ã¯ããªä»¥ä¸ã®ãã£ã¬ã¯ããªãå¦çããï¼ãããå ´å㯠recursive=True ã«ãã # recursive=False ã®å ´åã¯ã¯ã¤ã«ãã«ã¼ã㯠'/*' ã§ããã recursive=Trueã®å ´å㯠'/**' ã¨ãã # Windows, Linuxã©ã¡ãããã¹ã®åºåãæåã¯/ã§OK paths = map(os.pat
{{#tags}}- {{label}}
{{/tags}}