![]() |
| ||
| how to ingrate my code to read txt file in dirctory(folder)and subdirectory? PLZ help how to ingrate my code to read text in in parent folder contain sub folders and files for example folder name is cars and sub file is Toyota,Honda and BMW and Toyota contain file name Camry and file name corolla, file name Honda contain folder accord and BMW contain file name X5 Is there way to enter name of parent folder(cars) and search in all sub folder(Toyota,Honda and BMW) and files ? please help ASAP code is find most frequent word in one text file and print them in decrease order and I wont it to find most frequant word in all text files (together) under specific folder # count words in a text and show the first ten items |
| ||
| Re: how to ingrate my code to read txt file in dirctory(folder)and subdirectory? PLZ help You could check out the os and os.path modules. Jeff |
| All times are GMT -4. The time now is 1:31 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC