Re: [Tutor] R?p. : Sorting Data in Databases

2009-11-23 Thread Albert Sweigart
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

Re: [Tutor] R?p. : Sorting Data in Databases

2009-11-23 Thread Ken G.
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