Mark,

My file structure on my computer already looks like what you are
describing.

What am I doing wrong?


On Wed, May 7, 2014 at 3:07 PM, Chelsey MacNeill <chelsey.macneill@gmail.com
> wrote:

> Ahhhhh....I see. I'll fix it straight away.
> On May 7, 2014 3:05 PM, "Mark Charyk" <notifications@github.com> wrote:
>
>> In break_me.py:
>>
>> > @@ -0,0 +1,33 @@
>> > +# Each function when called should create an exception to happen
>> > +
>> > +# Exception: NameError
>> > +# A NameError is raised when a local or global name is not found. This applies to only unqualified names.
>> > +
>> > +#x = 5
>> > +#print x + y
>>
>> What you'll want to do is put each of these errors inside its own
>> function. That way you can control better how that code is run. So for this
>> you can say:
>>
>> def cause_name_error():
>>     x = 5
>>     print x + y
>>
>> Then later in the code, maybe inside an if name == main, you can call
>> cause_name_error() and you'll get that error, and you can just comment
>> out that one line to turn off the error while you run other ones.
>>
>> Try doing this for all four errors here and let me know when you've got
>> something.
>>
>> —
>> Reply to this email directly or view it on GitHub<https://github.com/codefellows/sea-c15-python/pull/28/files#r12405756>
>> .
>>
>