Skip to main content

All Questions

8 questions with no upvoted or accepted answers
1 vote
1 answer
1k views

How to use `python` again in windows PowerShell?

As of yesterday I could run a python command like python code.py on a windows 10 powershell command line. After an update this does not work anymore and I get an error Python was not found; run ...
Alex's user avatar
  • 452
1 vote
0 answers
436 views

How is miniconda getting added to my powershell $env:path?

When I check my user and system PATH variables, neither of them has the Miniconda path included. However, if I open up a powershell prompt and run echo $env:path I see that this includes the contents ...
user32882's user avatar
  • 207
0 votes
1 answer
208 views

Python Can Run with Typing "python.exe" Rather Typing "python"

I have added python to env on PATH correctly C:\Users\username\AppData\Local\Programs\Python\Python38\ But now I need to type python.exe to start it rather than typing python like before And it will ...
Michael's user avatar
0 votes
0 answers
180 views

Windows 11 on 16 core processor reduces CPU utilization when minimizing python processing console window - WHY?

I have a weird issue when doing long term image processing on my 16 core 24 thread i7 13700k processor, on windows 11 pro. My processing lasts for hours so I fire up several python scripts in ...
Erik Groen's user avatar
0 votes
1 answer
1k views

Is it possible to control a PC through Python/Powershell using RDP or VNC?

I'm writing a script to perform some actions (e.g: execute scripts, copy/paste/rename etc) on a remote machine. The remote machine only has RDP, VNC and FTP activated. I can perform all the above ...
Farahi's user avatar
  • 1
0 votes
1 answer
326 views

PS2Exe to run Python Script Doesn't Print Color (Colorama)

I want some of my Python scripts on Windows to have a custom icon, have their filename text in the title bar, and I want them to be pinnable to the taskbar and start menu. The easiest way to do this, ...
EllipticalInitial's user avatar
0 votes
0 answers
879 views

How to capture python interactive session on command line in windows?

I'd like to "log" all of the text (python shell prompts, my commands, python shell output) that displays on my console window after I start the python shell. I read about powershell's Tee-Object but ...
Minh Tran's user avatar
  • 101
0 votes
0 answers
1k views

What is the difference in Windows CMD and PowerShell redirection and text Encoding?

Granted, this is not a great title, but to be honest I was unsure how to word the question without posting an essay as the question. This description should add some flesh. Problem: I have a Python ...
Swinster's user avatar