# 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")
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.