I had trouble when I installed pywin32-219.win32-py3.5 on my Surface 3 with Windows 10. I use Python 3.5.0 (32 bit) so the installer was the right one. When I ran the installer, it said it could not find Python 3.5 in the registry. The installer did not show any Python installation to choose from. Luckily I found how to deal with it. When I looked into the registry, the registry key was: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\PythonCore\3.5-32 I renamed the last key from 3.5-32 to 3.5, and ran the installer again, then it worked. After installing it, I renamed the key back to 3.5-32 (When I installed Python 3.5, I chose 'install for all users'. The registry key may not be the same as above with the 'install for the current user' option) Hope this helps those who are having the same trouble.
Does this work in Windows 10? I'm in windows 10 now. The binary installer won't even run. There is infinite waiting for nothing.
Excellent! Indispensable for Python programming on Windows. Thank you.
3-stars until I get it working... During installation, I get a 'Cannot Install' message with 'Python version 3.5 required...' I've got Enthought's Canopy installed which uses Python 2.7.6...Do I need to download/install Python 3.5 to get PyWin32 working, and if so, will that mess up my Canopy installation? (If you haven't guessed, I'm pretty new tot he Python scene) :) Steve
Can someone help me to solve the following code: I am trying to reterive the cells which are strikethrough and not strikethrough. But the below code shows all cells are 'not strikedthrough' return FALSE. But there are certain cells which are strikethrough in the Excelsheet. For those cells i want to see the corresponding results of TRUE. import win32com.client as win32 excel = win32.gencache.EnsureDispatch('Excel.Application') wb = excel.Workbooks.Open('C:/sample.xlsx') ws = wb.Worksheets("Sheet1") for j in range (3,5): for i in range (1,10): print ws.Cells(j,i).Value, ws.Cells(j,i).Font.Strikethrough excel.Application.Quit()