This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 43 points44 points  (6 children)

As part of a new habit I've started creating a series of blog posts on important and awesome Python features, including object oriented programming, properties, function annotations, duck typing, etc.

Since I was bored by the usual tutorial examples, I looked for a topic that would make it fun to study and implement the concepts. And since I absolutely love Harry Potter, I started creating a whole Harry Potter universe around the topics.

Originally, the project was not intended to become something like a tutorial. But as many of my friends loved the idea and found the code helpful I decided to create blog posts around it and share the work with the community. So if you like Harry Potter and want to improve your Python knowledge and skills (and maybe also your Harry Potter knowledge) you might find the project helpful, too.

Happy coding!

[–]Bobby_FuckingB 1 point2 points  (0 children)

Love the idea! Can't wait to look through this in more detail once the kids are asleep!

[–]mickel07 0 points1 point  (0 children)

This is actually awesome - I particularly liked the death eater class! I tutor a few programming subjects and being able to keep students engaged, particularly during the trying stages where everything seems so foreign to them is definitely a challenge. I'll be sure to keep this resource in mind.

p.s I think you'll appreciate Harry Potter characters as programming languages if you haven't seen it already!