Skip to content

Tag: powershell

Git commands output in a file using python in Windows 10

I am trying This works in powershell well but if I do this using python – fatal: ‘*’ does not appear to be a git repository fatal: Could not read from remote repository. Btw, this worked! But I want all kinds of output in the file! What is the best way to do this? Answer Have a look at redir…

Powershell opens new cmd window, when running python script

Recently i re-installed python. Now when i type “.script.py” in powershell, it opens new cmd window, but i wanted to launch in the same window. How to change it? P.S. cmd works fine. Answer For Conda / Anaconda, I did the following command to invoke the correct Python executable for the correct en…