Home > other >  Python3 OS. The system () suddenly can't call a DOS command
Python3 OS. The system () suddenly can't call a DOS command

Time:10-23

Ask everyone:
I use Windows 7 64 - bit systems, pyhton yesterday use OS 3.7. System (' dir ') is good, today suddenly found that cannot perform the DOS command, found that return 1, I don't know how to return a responsibility?
I've tried all the DOS command doesn't work, but in the console using the DOS command (CMD) is OK, I'm with administrator privileges, and remove the python3.7 reinstall also not line, this problem for a long time, haven't find the problem,

See below, could you tell me what reason be?


Python 3.7.0 a4 (v3.7.0 a4:07 c9d85, Jan 9, 2018, 07:07:02) [MSC v. 1900, 64 - bit AMD
64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
The import OS
OS. The system (' dir ')
1

CodePudding user response:

Seen returns 0, 1, haven't seen - 1,

CodePudding user response:

Excuse me python OS. The system () returns 1 problem solved?
  • Related