Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Flask REST API Resourceful Blueprints Reqparse

Anibal Marquina
Anibal Marquina
9,523 Points

Import models.py?? Not working in local python shell

When I try to run courses.py to check if the import worked I got.. ImportError: No module named 'models'

I assume is because is not in the same directorie than courses.py..

How can I import it??

Greg Kaleka
Greg Kaleka
39,021 Points

Hey Anibal, can you take a snapshot of your workspace and share it here? The snapshot button is near the top right corner of the workspace window.