# 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")
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.