1

This is a noob question but I can't seem to figure out. When I try to launch Python from PowerShell, it runs in PowerShell. How do I launch Python from Powershell and have it run in a new window?

(For instance, if i type "Notepad" and hit enter then Notepad pops up in a new window.)

So I launch PowerShell and then enter PS C:\Users\Michael> Python . This opens it up in Powershell, but how do I open it up in a new window?

Apologies if this question has been asked before. I searched through the forum but didn't find anything.

1 Answer 1

3

Do -

Invoke-Item /path/to/python.exe

You will need to give the full path there. Exanple , in my case it is -

Invoke-Item C:\Python34\python.exe
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.