Category : python-3.x

I’m using subprocess module to run an executable: subprocess.call(‘file.exe’,shell=True) It still opens up the cmd.exe window. If I rename the executable to something else like file2.exe Then it works and the cmd window doesn’t open and all output is directed to the integrated terminal in the IDE. Has Windows 10 added file.exe to some list ..

Read more

I recently installed the python package faster_than_requests ver 21.3.3 from pypi on python ver 3.9.2 on windows. Upon importing the package as mentioned in the docs, I get the following traceback >>> import faster_than_requests Traceback (most recent call last): File "<stdin>", line 1, in <module> File "D:OSWindowsPython-3.9libsite-packagesfaster_than_requests__init__.py", line 7, in <module> from . faster_than_requests import ..

Read more