Movatterモバイル変換


[0]ホーム

URL:


How to search for and display files in a bunchof subdirectory??

EdwardTedwardt at trillium.com
Mon Apr 16 19:41:13 EDT 2001


Hi I am trying to write gui that can search and display all the files insubdirectories...Let say I invoke the script in directory d, but I have abunch ofsubdirectories under d.tpTcCTFTEST10/ tpTcCTFTESTTIGHT02/ tpTcTNLC14_2/ tpTcTNLC6_5/tpTcCTFTEST11/ tpTcCTFTESTTIGHT03/ tpTcTNLC15_1/ tpTcTNLC6_6/tpTcCTFTEST12/ tpTcCTFTESTTIGHT04/ tpTcTNLC16_1/ tpTcTNLC6_7/tpTcCTFTEST13/ tpTcCTFTESTTIGHT05/ tpTcTNLC16_2/ tpTcTNLC6_8/tpTcCTFTEST14/ tpTcCTFTESTTIGHT06/ tpTcTNLC17_1/ tpTcTNLC7_1/tpTcCTFTEST16/ tpTcCTFTESTTIGHT07/ tpTcTNLC1_1/ tpTcTNLC8_1/tpTcCTFTEST17/ tpTcCTFTESTTIGHT08/ tpTcTNLC1_2/ tpTcTNLC8_2/tpTcCTFTEST18/ tpTcCTFTESTTIGHT0811/ tpTcTNLC2_1/ tpTcTNLC8_3/tpTcCTFTEST19/ tpTcCTFTESTTIGHT09/ tpTcTNLC2_2/ tpTcTNLC9_1/tpTcCTFTEST7/ tpTcCTFTESTTIGHT12/ tpTcTNLC4_1/ tpTcTNLC9_2/tpTcCTFTEST8/ tpTcTNLC10_2/ tpTcTNLC6_1/ tpTcTNLC9_3/tpTcCTFTEST9/ tpTcTNLC11_1/ tpTcTNLC6_2/ tpTcTNLC9_4/tpTcCTFTESTTIGHT01/ tpTcTNLC11_2/ tpTcTNLC6_3/tpTcCTFTESTTIGHT010/ tpTcTNLC14_1/ tpTcTNLC6_4/and each subdirectory contains a file tp_acc.1. I want to do some processingto this file, but asking the user to click each folder and input the filename is just too much work for them, how can I just display the files in thesubdirectories.If the user want the same processing to be done on all of the files , he canjust click on the options to process it all. If they want to process part ofthe sub directory, user also allowed to do so?Thanks


More information about the Python-listmailing list

[8]ページ先頭

©2009-2025 Movatter.jp