Skip to main content

Forum Export: Exporting Data as JSON and CSV Using Python

Hands-On Lab


Photo of

Training Architect





Databases are great for storing and allowing us to query information, but the default shape and SQL are not always the best options for people within our organization. If we know the schema of our database tables, we can create classes to model our data and then massage the data into other shapes that are more helpful for specific use cases. In this hands-on lab, we'll use an existing SQLAlchemy library to query our forum database and export data as both JSON and CSV for other employees in our organization.

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.