资讯

This will cause Python to execute the Perl file, then continue down the line with the rest of your Python code.
The trick is that, when using the Python kernel, you can use a ! to execute shell commands and a %% to specify that a particular cell lives in a file. So consider this notebook from Google Collab: ...
PyScript lets you run Python scripts right in the browser, side by side with JavaScript, with two-way interaction between your code and the web page.