thank you very much, the problem is fixed. Thanks!
You are expert.
Thanks for your function.
Thanks!
Xiaobo
User Profile
Collapse
-
[CODE=python]import os
def dirEntries(dir_ name, subdir, *args):
'''Return a list of file names found in directory 'dir_name
If 'subdir' is True, recursively access subdirectories under 'dir_name'.
Additional arguments, if any, are file extensions to match filenames.
Matched file names are added to the list.
If there are no additional arguments, all files found in the directory...Leave a comment:
-
-
read multi files from a folder and creat a new one
Hi,
Thank you for read my problem.
My problem:
I have a folder which contains some .txt files, I want to read all of these files and write the data of these files into a new file.
Thanks for your help advance!!
I use Python 2.5 in Windows platform.
No activity results to display
Show More
Leave a comment: