Oliver Vecernik <vecernik at aon.at>: > df.write('DROP TABLE %s;\n' % daoDB.TableDefs(t).Name) >UnicodeError: ASCII encoding error: ordinal not in range(128) Try daoDB.TableDefs(t).Name.encode('ISO-8859-1') if you use Python 2. (If Name is not a string, convert it to string first.) I had similar problems with XML files that have non-ASCII content and this solved some of them. I still haven't sorted everything out, though. -- Kristian Ovaska <kristian.ovaska at helsinki.fi>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4