This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Hassan Mahroof
Recipients Hassan Mahroof
Date 2016-01-06.21:33:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1452116033.54.0.131066296483.issue26028@psf.upfronthosting.co.za>
In-reply-to
Content
I am a student @ Burnley College and we were learning how to use the .write(), .close(), .readlines() and .sort().

I have a list of names within a text file which I am trying sort, These are random names generated using my Random Mind. However, when the sorted text file is created, what seems to be under certain circumstances with my list only (or words similar, This bug did not occur within my whole class till I stumbled upon it) it seems to instead of writing each term to seperate lines, it seems to connect two of the words (in this case names) on the same line. I have tried to find a pattern in this madness however being the rookie student I am I can only seem to break things aha. I have attached the 2 files which I am using and Hopefully someone can correct this cause I am confused.

This is a list of the names:
Robertas
Hassan
Bob
Connor
Camera
Billy
Maz
Richard
Mo
History
Date User Action Args
2016-01-06 21:33:53Hassan Mahroofsetrecipients: + Hassan Mahroof
2016-01-06 21:33:53Hassan Mahroofsetmessageid: <1452116033.54.0.131066296483.issue26028@psf.upfronthosting.co.za>
2016-01-06 21:33:53Hassan Mahrooflinkissue26028 messages
2016-01-06 21:33:53Hassan Mahroofcreate