Grading Python and Java Examples

Hey, so since the documentation is down I was wondering if anyone could tell me how to set up a grading file and a submission file so that it gets recognized and graded. Because when I tried with Python I couldn't figure it out. I kept getting an error saying that there's either a syntax error or there's some other problem. I assume there's some trick to getting it work but I'm not able to guess what it is.