Hello. I am have a problem while trying to write to a file some sorted lines . my initial file is somthing like this
when i run this code
ord = open("Be.csv", 'r')
order = ord.read().split(";")
order = sorted(order)
for sort in order:
Even if it prints in shell all the lines i want and of course sorted in the new file it will only write name3,number3
What might seem to be the problem?
if someone has any ideea i would be grateful.