Skip to content

Python3调用scan()时会出现raise StopIteration错误 #11

@Wenfeng-Zhang

Description

@Wenfeng-Zhang
path = r"D:\a\b.1001.jpg"

f = DayuPath(path).parent.scan()
for i in f:
    print(i)


Traceback (most recent call last):
  File "C:\Python37\lib\site-packages\dayu_path\base.py", line 523, in scan
    raise StopIteration
StopIteration

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions