Ken,
You should probably use the sorting functionality that your DBMS
provides. However, if you have a list of strings that end with a new
line and start with an apostrophe, you can use list comprehensions to
remove them:
newlist = [x[1:-1] for x in newlist]
You can look at the following links
Albert Sweigart wrote:
Ken,
You should probably use the sorting functionality that your DBMS
provides. However, if you have a list of strings that end with a new
line and start with an apostrophe, you can use list comprehensions to
remove them:
newlist = [x[1:-1] for x in newlist]
You can