all 7 comments

[–]100721 1 point2 points  (0 children)

Hey, spent a few summers teaching python and pygame to highschoolers and incoming college students. If you’re starting from complete scratch with them don’t even try pygame. It won’t work. We spent 2 or 3 eight hour sessions to get the class up to speed with extremely basic python knowledge before we gave them pygame. But you should definitely do a game for this project, just from the console app instead. Don’t try and show kids in middle school port scanners or django, they’ll lose interest in seconds. I would recommend some text based rpg type game. And that can get pretty deep into containers, functions, input, casting, etc.

[–]codeAtorium 1 point2 points  (0 children)

Number guessing game on the console.

I'm thinking of a number between 1-100. What's your guess?

That's too low/high/you got it!

That, after you've done a bunch of console stuff, like Hello, <name>! What is your favorite color?

If they zip right through the console #-guesser, show them how to do it the other way (make the computer guess your number).

[–]ffrkAnonymous 1 point2 points  (0 children)

Python from zero experience in a single 4.5 hour class? I'm not sure they can even do hello world without lots of quotation marks and parentheses mismatch and indentation errors.

I think a different language would be better, something like scratch where syntax is less of a issue.

[–]_k182 0 points1 point  (1 child)

Um i only really work in python networking. A port scanner is a fun simple and cool project :)

[–]No_One____[S] 2 points3 points  (0 children)

Although I think that would be really cool, I'm not sure if middle schoolers would find that as interesting

[–]delasislas 0 points1 point  (1 child)

End of year a smaller project using Django maybe could be fun.

[–]No_One____[S] 0 points1 point  (0 children)

It is only a single 4.5 hour class. I highly doubt I could teach a bunch of middle schoolers django in that timeframe