Skip to main content

All Questions

1 vote
1 answer
1k views

Push-Location in Powershell not working the same as PUSHD in bat

EDIT: Alt title: New-PSDrive in Powershell not working the same as NET USE in bat I'm trying to load a python script in WinPython off a UNC Path, so I need to map it to a drive. I have all this ...
Geordie's user avatar
  • 474
-1 votes
1 answer
13k views

Python 3.6 does not run on Windows 10

Using Windows 10. First I uninstall any existing versions of Python 3 or Python 2.0 https://www.python.org/ftp/python/3.6.0/python-3.6.0-amd64.exe Then I run the above program, Windows seems to ...
Duke Dougal's user avatar
0 votes
1 answer
781 views

Is there a way to auto-run a script when entering a directory in powershell?

I have multiple folders containing different python projects. Each project has its own virtual environment that I activate before working on it. I activate the virtual environment by running in the ...
hazrmard's user avatar
  • 205
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
0 votes
1 answer
1k views

How can I rename all image files within a directory (and recursively within its subdirectories)?

I have a directory containing a large number of image files, some of which are in subdirectories. I need to rename all image files matching *.png, *.jpg, *.jpeg, *.bmp, *.gif using a simple pattern ...
enzom83's user avatar
  • 591
1 vote
1 answer
995 views

Split large text file according to record values

There are some questions alike in this site, but mine is a bit different. I have a 30 GB text file, and I need to split it into smaller files according to the different record values. For example; ...
Mehmet Balioglu's user avatar
2 votes
1 answer
29k views

pip is not recognized as an internal or external command

I have installed pip and distribute, and no errors came up. But when I enter pip into the cmd or windows powershell, it gives me an error. However, when I import pip into python, no errors come up. I ...
XXXBIGBOY's user avatar

15 30 50 per page
1
2