I have a suggestion. #15306
AkshatChauhan18
started this conversation in
General
Replies: 2 comments
-
Python embedding directly is probably not going to be that straightforward since pwsh is a .NET application, but it might be worth your time to look at Snek, which apparently allows interfacing between Python and pwsh in some fashion. |
Beta Was this translation helpful? Give feedback.
0 replies
-
How about adding os.system('xterm -into %d -geometry 40x20 -sb -e pwsh &' % wid) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I don't whether it is possible or not , powershell should have feature for embedding like xterm have.
I am a python programmer and I know that we can embed xterm in PyQt and tkinter but not powershell.
This an example of embedding xterm -
`from Tkinter import *
import os
root = Tk()
termf = Frame(root, height=400, width=500)
termf.pack(fill=BOTH, expand=YES)
wid = termf.winfo_id()
os.system('xterm -into %d -geometry 40x20 -sb &' % wid)
root.mainloop()`
I want that powershell should also have feature like this.
Beta Was this translation helpful? Give feedback.
All reactions