If you are not worried about the numbers being first you could use, the slice is trimming of the whitespace characters tab, linefeed, return, formfeed, and vertical tab.
import string print(string.printable[:-5])
Output:0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
Edit: changed the slice to 5 so it includes a space on the end