Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python script to sort file content

with open('shopping.txt', 'r') as r:
    for line in sorted(r):
        print(line, end='')
 
PREVIOUS NEXT
Tagged: #python #script #sort #file #content
ADD COMMENT
Topic
Name
9+3 =