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

Setting an Importing Path Permanently in IDLE for a folder

While using this course I like to work in IDLE/Notepad++. However I cannot seem to figure out how to permanently set up IDLE so that I can write scripts and import them from my own folder (I work in a folder called C:\Users\name\Documents\Python)

As of now when I try to import a script I get

Traceback (most recent call last):
  File "<pyshell#1>", line 1, in <module>
    from monster import Monster
ImportError: No module named 'monster

I can do a sys.path.append, however I would like a more permanent solution Any advice?

Is the "monster.py" program in the same folder (or directory) as the PWD?