diff --git a/contributors/VJanabia/get_python_files.py b/contributors/VJanabia/get_python_files.py new file mode 100644 index 0000000..e8ca96c --- /dev/null +++ b/contributors/VJanabia/get_python_files.py @@ -0,0 +1,16 @@ +from pathlib import Path + +import pofile + + +def main(): + """获取当前目录下的 Python 文件。""" + files = pofile.get_files( + path=str(Path(__file__).resolve().parent), + name="py", + ) + print("\n".join(files)) + + +if __name__ == "__main__": + main() \ No newline at end of file