Exploring Python's New Subinterpreters

Exploring Python’s New Subinterpreters The Python community never ceases to innovate. One of the most recent additions to Python’s vast feature set is “subinterpreters”. As the name suggests, subinterpreters provide a way to run multiple isolated Python interpreters within a single process. Let’s dive deeper into this novel concept and discuss its advantages and potential use cases. What are Subinterpreters? At a high level, each subinterpreter in Python has its own distinct memory space and execution state.

Writing a Basic Burp Extension in Python

Burp Suite is a popular web security testing tool that helps you secure web applications by testing and validating vulnerabilities. It’s a comprehensive platform for performing security assessments on web applications, and its extensibility is one of its key features. Burp Suite extensions are add-ons that allow you to customize and extend the functionality of Burp Suite. These extensions can be written in any JVM-compatible language, including Java, Python, and Ruby.

Context Managers in Python

Python is a powerful and versatile programming language that offers many features to help developers write clean and efficient code. One of these features is the use of context managers. In this blog post, we will take a closer look at what context managers are and how they can be used to simplify and improve your Python code. A context manager is an object that defines the methods enter() and exit().

Python List Comprehensions

Python List Comprehensions is a pretty interesting feature that I haven’t seen in other languages (at least that I’ve played with). The basic idea is that they create lists from other iterables. They consists of brackets containing the expression which is executed against each item in the iterable object. One or more conditionals dictate if the item is added to the new list. The basic format is – list = [expression for_loop_one_or_more conditions]