At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
@susanjrobertson, glad to see you are still working. The third sequence is just about at this point now, so there should be some folks working on this problem from that group about now. Ping me if you don't get an answer some time relatively soon.
hi susan, the mooc-e suggested i work with you as we are at the same place. i've posted the wheel code at github https://gist.github.com/davekpython/4698027. i'm now trying to build the car and having little luck. thoughts? dave
@dave - thanks for posting this. I'm still working through getting the wheel to animate - I'm getting errors in idle when I run the code, the biggest one telling me that 'after' isn't defined. So I'm still trying to get this working. Hopefully I'll have some time today :)
i just added a cleaner version of wheel https://gist.github.com/davekpython/4715546 i used to get that after comment as well. this one animates on my idle.
@davek - thanks so much for this, I think I understand what is going on here and am moving on to the car - we'll see what happens :)
let me know how the car goes. i can create a car with definitions but am having trouble creating a car class and within it, making the car and animating it.
I'm having a lot of trouble with classes still and how they work. I did find another question on there which linked to an animated car, but didn't want to just look at an answer. I'm actually going back to the MIT course and watching the lecture on classes (was never assigned in the MOOC) to see if that helps me understand more.
good idea. i'll take a look too. the mooc class seems to drop the ball at week 7.
yeah - lecture 10 starts with exceptions, classes and iterators about 20 minutes in.
@davek So I watched quite a bit more lecture and I figured out the car.py and the next one the Blocks to begin the tretrominoes.py file - I admit I did look for some help online, but it's making a bit more sense to me. Let me know if you want to see the code and I'll make a gist of it. I also think the MOOC definitely should have included more lectures for these exercises - it's a big leap from week 6 to week 7 without the lecture I think.
great. i'm just finishing up the recitation 5 (very good after minute 30). the lecture was good as is the recitation. clarifying a lot. i'm going to try to code it after. i'm guessing i'm going to need some help but we'll see. well done.
yup, i'm stuck at drawing the rectangle. any chance i can look at the code?
Here's a gist of my car.py - https://gist.github.com/susanjrobertson/4728527 I agree with you that lecture 10 and 11 and also recitation 5 was super helpful. I also took a good look at the graphics.py to understand what classes were in there that I could use in the car.py. It's also heavily used in the Blocks exercise.
Wow. Great! got it, but i needed to peak a few times. my use of self. was throwing me off and combining stuff from both graphic and wheel in same def makes all the sense. thank you.
also like the if y<0. didn't use it but can see why it could and probably will be useful soon enough.