Casting 'Harry Potter' spells in Minecraft with Python code

Insight at UCC Science Festival: Casting ‘Harry Potter’ spells in Minecraft with Python Code

Submitted on Thursday, 27/10/2022

The Insight SFI Research Centre for Data Analytics, the SFI Centre for Research Training in Artificial Intelligence and the School of Computer Science and Information Technology in UCC are running a series of short coding workshops as part of the Cork Science Festival 2022 on the 13th November 2022.

There will be 3 workshops held at 11.30, 12.30 and 13.30. The coding workshops will use the programming language ‘Python’ to cast Harry Potter spells in Minecraft. Suitable for ages for 11-12 yrs

Duration: 40 mins

Location: G20 (Western Gateway Building)

Date: Sunday 13th Nov

The aim of the workshops  is to teach children basic Python coding using the Minecraft platform. The Python code delivered will have a Magic theme, making the effect from the code output like Harry Potter’s spell.

Python is one of the most popular programming languages in recent years (the others being JAVA and C) which means Python developers are in high demand in the IT industry. Python’s syntax (like grammar) is shorter than Java and similar to but simpler than C which makes Python a more straightforward language to start with for beginners.

Python is versatile and can be used in-app, software, web development, and most trending areas as AI (Artificial Intelligence), Data Science & Analysis!

Capacity at each workshop is strictly limited and access is by pre-booked ticket only. To attend please book your ticket in advance. coding workshop ticket registration. Coding working registration page.


All children much be accompanied by a parent or guardian. Tutors and volunteers do not accept any responsibility for supervising children so it is obligatory that a parent remains in the workshop for the entirety of the session.