Python, on the other hand is a powerful text-based programming language that is widely used in different contexts around the world. Python allows not only functional, but also object-oriented and procedural programming, rendering it very useful in many applications, including data science and machine learning applications. Python is also a popular programming language for education in England1. Yet, when you’re new to programming, it can be easy to make syntax and indentation errors, which create problems in the code that can be hard to spot, therefore resulting in a frustrating learning experience.
Strype is a new frame-based Python programming environment running in a web browser that is freely accessible to all and helps learners progress and avoid frustrations. Through its unique frame-based editor, Strype combines some of the advantages of block-based and visual programming languages, while maintaining the text-based features that make Python so flexible. Effectively working as a bridge between the two types of programming, Strype keeps the ability to drag and drop frames and use keyboard shortcuts, while allowing learners to type in statements freely, thereby allowing more advanced and in-depth programming.
Frames in Strype are designed to prevent grammatical errors and maintain code structure integrity, which means that you can type in statements without having to struggle with many of the typical syntax errors or worrying about indentation. For example, the frame-based editor automatically completes paired symbols like parentheses or quotations. Instead of spending time overcoming these frustrating stumbling blocks, new learners can concentrate on solving the actual problem at hand. The confidence gained in the process creates an environment where new learners can effectively explore the complexity and flexibility of Python. At the same time, through being exposed to the proper syntax learners can absorb these aspects implicitly, which will help with the transition into Python.
The Strype developers, Dr Pierre Weill-Tessier, Dr Neil Brown and Professor Michael Kölling, are offering two in-person workshops on Monday 25th November and Tuesday 10th December at King’s College London. Participants will engage in pedagogical discussions and explore hands-on programming examples that can be used directly in the classroom. The workshops are free to attend, and refreshments will be provided. For more information and details on how to apply, please visit our website.
1After the reboot: computing education in schools