windows-7

Python. IOError: [Errno 13] Permission denied: when i'm copying file

Python. IOError: [Errno 13] Permission denied: when i'm copying file Question: I have two folders: In, Out – it is not system folder on disk D: – Windows 7. Out contain “myfile.txt” I run the following command in python: >>> shutil.copyfile( r”d:Outmyfile.txt”, r”D:In” ) Traceback (most recent call last): File “<pyshell#39>”, line 1, in <module> …

Total answers: 11

How do I run a Python program in the Command Prompt in Windows 7?

How do I run a Python program in the Command Prompt in Windows 7? Question: I’m trying to figure out how to run Python programs with the Command Prompt on Windows 7. (I should have figured this out by now…) When I typed "python" into the command prompt, I got the following error: ‘python’ is …

Total answers: 24

Are there benefits to running X86-64 Python on a 64-bit CPU in a 64-bit OS?

Are there benefits to running X86-64 Python on a 64-bit CPU in a 64-bit OS? Question: What kind of benefits are there to running the amd64 builds of Python and extensions? (Lots of extensions compiled for amd64 here.) I have an i5 processor and Win7 64-bit, so it seems like it would be appropriate. But …

Total answers: 5

Python Message Box Without huge library dependency

Python Message Box Without huge library dependency Question: Is there a messagebox class where I can just display a simple message box without a huge GUI library or any library upon program success or failure. (My script only does 1 thing). Also, I only need it to run on Windows. Asked By: Pwnna || Source …

Total answers: 6

Quickly getting the color of some pixels on the screen in Python on Windows 7

Quickly getting the color of some pixels on the screen in Python on Windows 7 Question: I need to get the color of some pixels on the screen or from the active window, and I need to do so quickly. I’ve tried using win32gui and ctypes/windll, but they’re much too slow. Each of these programs …

Total answers: 5

How do I take out the focus or minimize a window with Python?

How do I take out the focus or minimize a window with Python? Question: I need to get focus to a specified window, and the only way I’m seeing on my head, is minimizing all windows on front of it until I get the right one… How can I do it? Windows 7, and no …

Total answers: 3