You did what?!
Let me explain: You write your notes in your Vault. Then, you run a command, and the code inside becomes a script and executes! And it does so with the environment of your choice already activated.
Oh, I see now. This is a notebook!
No, it’s not. It transforms every code block—including comments—into an independent script.py
inside your .obsidian\scripts\python
folder. From there, you can grab it and start deploying or packaging it.