file link shell configuration

16 views
Skip to first unread message

Kind_Poteau

unread,
Dec 29, 2020, 2:26:14 PM12/29/20
to Pyzo
Hello,

I would like to know how to link a python file to a shell and if several python files are open, when you run one of them it runs on the corresponding shell.

Thank you.

Almar Klein

unread,
Dec 30, 2020, 4:27:19 AM12/30/20
to Pyzo
You mean you want to be able to link/associate each open file to a specific shell, so that the code runs there, and not in the currently open shell?

Sorry, but that is not supported. All code you run runs in the currently open shell. Is there a specific use-case where this makes sense? Perhaps there are other ways to help with this ...

- Almar
--
You received this message because you are subscribed to the Google Groups "Pyzo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyzo+uns...@googlegroups.com.

Kind_Poteau

unread,
Dec 30, 2020, 5:34:47 AM12/30/20
to Pyzo
ah okay,

no it's just that to work on 2 projects I thought it could be an advantage.
I've seen that you can configure a shell so that it launches a program when it starts and I thought that you could reverse this: when a file is running the corresponding shell is put in.
Reply all
Reply to author
Forward
0 new messages