# Open text file for writing outfile = open("cell.txt", "a") # Open text file for reading (one line at a time). for lines in open(infile.txt).readlines(): line = lines.strip() # Only lines that start with "cell_" if line.startswith('cell_'): outfile.write(line+"\n")
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.