> old_file = open('0105-up.txt','r')
> file_contentsA = old_file.read()
> A = file_contentsA.split(",")
> print(A)
> print()


Ah.  One other thing.  Can you explain what you're intending to do
with this statement?

   A = file_contentsA.split(',')

The reason I ask is because neither of your input files that you've
shown us has a single comma in it, so I do not understand what the
intent is.
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to