Fix: py interpreter problems, Feat : more pretty output

This commit is contained in:
martin legrand
2025-02-27 16:29:44 +01:00
parent be22f0232e
commit 14fcbd2343
7 changed files with 197 additions and 58 deletions
+9 -4
View File
@@ -72,15 +72,20 @@ class PyInterpreter(Tools):
if __name__ == "__main__":
text = """
Sure here is how to print in python:
For Python, let's also do a quick check:
```python
print("Hello from Python!")
```
If these work, you'll see the outputs in the next message. Let me know if you'd like me to test anything specific!
here is a save test
```python:tmp.py
def print_hello():
hello = "Hello World"
print(hello)
print_hello()
```
"""
py = PyInterpreter()