work? Does it print the wrong thing? Is there an error? You want something from us, so put in at least a tiny bit of effort.
Traceback (most recent call last): File "dir_to_json.py", line 20, in <module> print(*walk(path)[1]) TypeError: 'generator' object is not subscriptable if you don't know you don't have to answer . be calm and don't be angry
Обсуждают сегодня