mathstodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance for maths people. We have LaTeX rendering in the web interface!

Server stats:

2.8K
active users

#snippets

1 post1 participant0 posts today

If you need to export a Microsoft Access database while on macOS or Linux, this might do the trick:

1. `brew install mdbtools`
2. `pip install pandas_access`
3. In a Python session:

```python
file_name = ‘path_to_access_file.mdb’
for table in mdb.list_tables(file_name):
df = mdb.read_table(file_name, table)
df.to_excel(f'{file_name}-{table}.xlsx')
```

You're welcome! (Including myself in the future…)

See also gist.github.com/juandesant/e77

GistExport tables from an Access databaseExport tables from an Access database. GitHub Gist: instantly share code, notes, and snippets.

How can I best share #code #snippets on the #fediverse in a way that is also #accessible?

Provide a screenshot with the code as an alt text?

Provide the snippet as both a screenshot and on a snippet service and then mention in the alt text that the code can be read at the link? 🤔

Just rely on the markdown feature of glitch-soc and hope it's remotely readable in other software? 🙈

I could provide a link to a snippet service only, but I doubt many people will bother to actually click on that. 😅