#import "@preview/pyrunner:0.1.0" as py

#let compiled = py.compile(
```python
def find_emails(string):
    import re
    return re.findall(r"\b[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}\b", string)

def sum_all(*array):
    return sum(array)

def sympy_test():
    import google.generativeai as genai
```)

#let txt = "My email address is <EMAIL> and my friend's email address is <EMAIL>."

// #py.call(compiled, "find_emails", txt)
#py.call(compiled, "sympy_test")
