On 10/22/19, Albert-Jan Roskam wrote:
> On 22 Oct 2019 11:23, GerritM wrote:
>
>> ImportError: DLL load failed: The specified > procedure could not be
>> found.
Many of the PyWin32 extensions depend on pywintypesXX.dll, and some
depend on pythoncomXX.dll. There's a post-installation script that
Am 22.10.2019 um 19:24 schrieb Terry Reedy:
...
Is there a win32 list where people might have more knowledge of such?
There is:
python-wi...@python.org
https://mail.python.org/mailman/listinfo/python-win32
If you prefer Gmane:
news://news.gmane.org/gmane.comp.python.windows
HTH
--
htt
On 2019-10-22 17:31, Albert-Jan Roskam wrote:
On 22 Oct 2019 11:23, GerritM wrote:
ImportError: DLL load failed: The specified > procedure could not be found.
I've had the same error before and I solved it by adding the location where the
win32 dlls live to PATH. Maybe PATH gets messed up
On 10/22/2019 11:42 AM, GerritM wrote:
On Tuesday, October 22, 2019 at 12:09:46 PM UTC+2, Terry Reedy wrote:
On 10/22/2019 5:23 AM, GerritM wrote:
<...snip...>
Install 1 at a time and try your normal scripts?
Starting from a state of ignorance about interactions between Win32 and
other mo
On 22 Oct 2019 11:23, GerritM wrote:
> ImportError: DLL load failed: The specified > procedure could not be found.
I've had the same error before and I solved it by adding the location where the
win32 dlls live to PATH. Maybe PATH gets messed up during the installation of
something.
--
htt
On Tuesday, October 22, 2019 at 12:09:46 PM UTC+2, Terry Reedy wrote:
> On 10/22/2019 5:23 AM, GerritM wrote:
<...snip...>
>
> Install 1 at a time and try your normal scripts? Or try them with 3.7.
>
> --
> Terry Jan Reedy
I am working on the Python 2 to Python 3 transition.
I found on Intern
File "C:\Python27\lib\site-packages\win32com\__init__.py", line 5, in
import win32api, sys, os
ImportError: DLL load failed: The specified procedure could not be found.
after trying out several tips on Internet, like copying dll and pyd files, I
re-installed my entire ActiveState i
recent call last):
File "D:\gaudi\src\PythonTools\generateDocumentsPdf.py", line 10, in
from win32com.client.dynamic import Dispatch
File "C:\Python27\lib\site-packages\win32com\__init__.py", line 5, in
import win32api, sys, os
ImportError: DLL load failed: The speci
I have an Angular application that is communicating via websocket with a python
app.
Actually, I save the file in Angular, then I pass to the websocket the file
path and I print it by win32api.ShellExecute.
Anyway, I do not really need to save the file, so would be much better to send
the conte
win32api.keybd_event(code,0,0,0)
time.sleep(2)
win32api.keybd_event(code,0,win32con.KEYEVENTF_KEYUP,0)
the above code is simulating single click on button but not press Key Hold
but i want to hold the until key up event is called
eg: for key 'a' down it have to simulate key continous set until
the problem was: ActivePython does not install debug libraries, so you must
link with release libraries in your project. but if you run the debug version,
you're linking against debug libraries which conflict with the ones linked to
by python.
"fixed" by running the release version. basical
antage of python in my app, so the
> python installation can't be touched as it's on a user's machine.
>
> When I attempt to do:
>> import win32api
>
> i get this:
>> Traceback (most recent call last): File "startup.py", line 5, in
>> Impo
note that when the script is called, i DO see this in the output window:
> 'kJams 2 Debug.exe': Loaded 'C:\Python27\Lib\site-packages\win32\win32api.pyd'
> 'kJams 2 Debug.exe': Loaded 'C:\Windows\SysWOW64\pywintypes27.dll'
> 'kJams 2 Debug.exe': Unloaded
> 'C:\Python27\Lib\site-packages\win32\win
touched as it's on a user's machine.
When I attempt to do:
>import win32api
i get this:
>Traceback (most recent call last):
> File "startup.py", line 5, in
>ImportError: DLL load failed: The specified module could not be found.
I someone suggested i manuall
Gerry wrote:
>I'm running Python 2.6 under XP.
>
>I've installed Windows 32 extensions for Python 2.6 version 1.4
>(pywin32-214.win32-py2.6.exe).
>
>But If I try to import win32api, I get:
>
> File "C:\python_projects\euler\driveletters.py", line 1
MCIPERF wrote:
On Jul 20, 9:57 am, Tim Golden wrote:
Gerry wrote:
I'm running Python 2.6 under XP.
I've installed Windows 32 extensions for Python 2.6 version 1.4
(pywin32-214.win32-py2.6.exe).
But If I try to import win32api, I get:
File "C:\python_projects\euler\drivelett
On Jul 20, 9:57 am, Tim Golden wrote:
> Gerry wrote:
> > I'm running Python 2.6 under XP.
>
> > I've installed Windows 32 extensions for Python 2.6 version 1.4
> > (pywin32-214.win32-py2.6.exe).
>
> > But If I try to import win32api, I get:
>
> &
Gerry wrote:
I'm running Python 2.6 under XP.
I've installed Windows 32 extensions for Python 2.6 version 1.4
(pywin32-214.win32-py2.6.exe).
But If I try to import win32api, I get:
File "C:\python_projects\euler\driveletters.py", line 1, in
import win32api
ImportEr
I'm running Python 2.6 under XP.
I've installed Windows 32 extensions for Python 2.6 version 1.4
(pywin32-214.win32-py2.6.exe).
But If I try to import win32api, I get:
File "C:\python_projects\euler\driveletters.py", line 1, in
import win32api
ImportError: DLL load f
;ve fooled around with the
windows api, but both SendKeys and SendMessage fail to register on the
game window. When testing in Notepad, the text and other keypresses
appear as planned. They do not, however, in Neverwinter. It's been
suggested on some sites I've come across that Win3
Tsolakos Stavros wrote:
Hi all.
I was trying to find a way to read the currently selected input layout
from an app written in python. I am aware that if the app were written
in C, I would have to call the GetKeyboardLayoutName() function. How can
this be done in Python? I want to avoid writing a
Hi all.
I was trying to find a way to read the currently selected input layout
from an app written in python. I am aware that if the app were written
in C, I would have to call the GetKeyboardLayoutName() function. How can
this be done in Python? I want to avoid writing an extension just for
this.
On 7/02/2009 3:28 AM, K-Dawg wrote:
You might like to seek out the python-win32 mailing list for stuff like
this where more people tend to pay attention to windows problems.
This works if I call run() specifically. But when I try to initiate the
thread with .start() I get the following error
I have come up with what I need and will try tweaking some things that
hopefully will help me learn what some of this stuff does. In the meantime,
I am having an issue:
class *KeepAlive*(threading.Thread):
def *__init__*(*self*):
*self*.count = 0
*self*.ie=win32com.client.
Hi,
I have a python script that I want to run in the system tray and system tray
only (windows system). I am looking at the win32gui_taskbar.py demo file
but am having trouble making sense of what parts do. I understand what the
whole does but I want to actually learn what it is doing so I can a
On Sep 8, 2:41 pm, Emile van Sebille <[EMAIL PROTECTED]> wrote:
> brianrpsgt1 wrote:
> > I have attempted downloading and installing several different version
> > of the win32api from Source Forge,
>
> Whe win32 tools come bundled with ActiveState's python distribu
brianrpsgt1 wrote:
I have attempted downloading and installing several different version
of the win32api from Source Forge,
Whe win32 tools come bundled with ActiveState's python distribution.
Maybe that'll move you forward...
Emile
however, each time I try to install
I get the
I have attempted downloading and installing several different version
of the win32api from Source Forge, however, each time I try to install
I get the following error message:
"Only part of a ReadProcessMemory or WriteProcessMemory request was
completed"
This occurred with the follo
En Thu, 28 Aug 2008 02:01:23 -0300, taghi <[EMAIL PROTECTED]> escribi�:
I want to call NetShareEnum, a function from netapi32.dll
NetShareEnum has this definition:
[...]
netapi32=cdll.LoadLibrary('netapi32.dll')
netapi32.NetShareEnum(cname, level, byref(bufptr), prefmaxlen,
byref(entriesread), b
taghi wrote:
I wrote this code in python 2.5:
from ctypes import *
... snip ...
netapi32=cdll.LoadLibrary('netapi32.dll')
This is your problem: netapi32 is a windows
DLL and needs to be attached as such:
netapi32 = windll.LoadLibrary ("netapi32.dll")
or, more simply:
netapi32 = win
taghi wrote:
I wrote this code in python 2.5:
from ctypes import *
... snip ...
netapi32=cdll.LoadLibrary('netapi32.dll')
This is your problem: netapi32 is a windows
DLL and needs to be attached as such:
netapi32 = windll.LoadLibrary ("netapi32.dll")
or, more simply:
netapi32 = win
taghi wrote:
I want to call NetShareEnum, a function from netapi32.dll
Not a straightforward answer but... are you aware that
this particular call is already wrapped by the pywin32
packages:
https://sourceforge.net/projects/pywin32/
http://timgolden.me.uk/pywin32-docs/win32net__NetShareEnum_m
On Aug 28, 12:01 am, taghi <[EMAIL PROTECTED]> wrote:
> I want to call NetShareEnum, a function from netapi32.dll
> NetShareEnum has this definition:
>
> NET_API_STATUS NetShareEnum(
> __in LPWSTR servername,
> __in DWORD level,
> __out LPBYTE *bufptr,
> __in DWORD prefmaxlen
I want to call NetShareEnum, a function from netapi32.dll
NetShareEnum has this definition:
NET_API_STATUS NetShareEnum(
__in LPWSTR servername,
__in DWORD level,
__outLPBYTE *bufptr,
__in DWORD prefmaxlen,
__outLPDWORD entriesread,
__outLPDWORD totalentries,
I want to call NetShareEnum, a function from netapi32.dll
NetShareEnum has this definition:
NET_API_STATUS NetShareEnum(
__in LPWSTR servername,
__in DWORD level,
__outLPBYTE *bufptr,
__in DWORD prefmaxlen,
__outLPDWORD entriesread,
__outLPDWORD totalentries,
Lamonte Harris wrote:
Where can I get the win32api module? I been searching all day on google and
nothing, i installed
https://sourceforge.net/project/showfiles.php?group_id=78018 which requires
win32api and its not found
On Jul 19, 8:45 pm, Michiel Overtoom <[EMAIL PROTECTED]> wrote:
> On Saturday 19 July 2008 21:13:04 Lamonte Harris wrote:
>
> > Where can I get the win32api module? I been searching all day on google and
> > nothing, i installed
> >https://sourceforge.net/project/sho
On Saturday 19 July 2008 21:13:04 Lamonte Harris wrote:
> Where can I get the win32api module? I been searching all day on google and
> nothing, i installed
> https://sourceforge.net/project/showfiles.php?group_id=78018 which requires
> win32api and its not found...
What are the ac
Where can I get the win32api module? I been searching all day on google and
nothing, i installed
https://sourceforge.net/project/showfiles.php?group_id=78018 which requires
win32api and its not found...
--
http://mail.python.org/mailman/listinfo/python-list
Thanks a mill - works like a charm!
--
http://mail.python.org/mailman/listinfo/python-list
When I go to the Python command line and type
>
> >>> from rpy import *
>
> I get the following error message:
>
> Traceback (most recent call last):
> File "", line 1, in
> from rpy import *
> File "C:\Python25\lib\site-packages\rpy.py
rpy import *
I get the following error message:
Traceback (most recent call last):
File "", line 1, in
from rpy import *
File "C:\Python25\lib\site-packages\rpy.py", line 88, in
import win32api
ImportError: No module named win32api
>>>
What on earth is win32
Thank you Jorgen. Your answer helped me a lot.
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, 29 Nov 2007 01:59:20 -0800 (PST), Atila Olah <[EMAIL PROTECTED]> wrote:
> Hello everyone.
> I would like to be able to emit a mouse click on my xgl/compiz
> desktop, like I used to do in Windows:
...
> Is there a way to interact directly with the X server (or with the
> kernel?) to simulate
Hello everyone.
I would like to be able to emit a mouse click on my xgl/compiz
desktop, like I used to do in Windows:
win32api.mouse_event(win32con.MOUSEEVENTF_LEFTDOWN, x, y, 0)
win32api.mouse_event(win32con.MOUSEEVENTF_LEFTUP, x, y, 0)
I installed Python and pywin32 in wine and they both work,
On Apr 11, 7:49 pm, Tim Golden <[EMAIL PROTECTED]> wrote:
> On a whim, given the terseness of your post, I
> cut-and-pasted your subject line into Google,
> added "python" for good measure, and looked at
> the results.
>
> I suggest you might do the same. Granted, maybe
> this will raise more quest
On a whim, given the terseness of your post, I
cut-and-pasted your subject line into Google,
added "python" for good measure, and looked at
the results.
I suggest you might do the same. Granted, maybe
this will raise more questions, but at least it
shows willing :)
TJG
--
http://mail.python.org/
-
8:00? 8:25? 8:40? Find a flick in no time
with theYahoo! Search movie showtime shortcut.--
http://mail.python.org/mailman/listinfo/python-list
.com/ASPN/docs/ASPNTOC-APYTH2.4.0) but it is
> not very good and finally I had to turn to the newsgroups (it was very
> nice).
>
> And the question is: ¿Anybody knows where can I find good
> documentation about win32api?
>
> Thanks in advanced.
The pywin32 package has a .chm
krishnakant Mane schrieb:
> On 1 Dec 2006 09:56:09 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>> http://msdn.microsoft.com covers the API itself, although you need to
>> transliterate from the C code to python.
> Exactly! that's where the problem lyes.
> I am pritty well to do with wind
On 1 Dec 2006 09:56:09 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> http://msdn.microsoft.com covers the API itself, although you need to
> transliterate from the C code to python.
Exactly! that's where the problem lyes.
I am pritty well to do with windows API, I am an a good python
progr
docs/ASPNTOC-APYTH2.4.0) but it is
> not very good and finally I had to turn to the newsgroups (it was very
> nice).
>
> And the question is: ¿Anybody knows where can I find good
> documentation about win32api?
>
> Thanks in advanced.
>
> ScnS.
http://msdn.microso
"__schronos__" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
And the question is: ¿Anybody knows where can I find good
documentation about win32api?
There is the book, Python Programming on WIN32, by Mark Hammond.
http://www.amazon.com/Python-Programming-WIN32
d and finally I had to turn to the newsgroups (it was very
nice).
And the question is: ¿Anybody knows where can I find good
documentation about win32api?
Thanks in advanced.
ScnS.
--
http://mail.python.org/mailman/listinfo/python-list
in");
m_engine.AddToPath("C:\\Python24");
m_engine.AddToPath("C:\\Python24\\lib\\site-packages");
m_engine.AddToPath("C:\\Python24\\lib\\site-packages\\win32");
m_engine.AddToPath("C:\\Python24\\lib\\site-packages\\win32\\lib");
is);
building with VS2003 did away with that. But that then led to the
well-known problem with a FILE* where the app is using one msvcrt and
the lib another. At some point in fixing these issues, the "cannot
find win32api" went away.
I now use this trick from a colleague which allows me
Hello Jim,
> // Py_Initialize();
> Py_InitializeEx(0);
> PyRun_SimpleString("from win32com.client import *");
>
> Here's what it does on the last line:
>
> File "D:\Python\Lib\site-packages\win32com\__init__.py", line 5, in ?
>
\Python\Lib\site-packages\win32com\__init__.py", line 5, in ?
import win32api, sys, ok
ImportError: No module named win32api
The same line runs fine in IDLE or at the command prompt. It also runs
without complaint if I run a release version of the app. To build the
debug version I had to b
[EMAIL PROTECTED] schrieb:
> Is there a way to hide a python instance from the Task Manager process
> list?
Try sony's rootkit. Or any other.
Diez
--
http://mail.python.org/mailman/listinfo/python-list
Hi!
Rename Pythonw.exe like jtp.exe
And... run: jtp.exe yourscript.pyw
--
@-salutations
Michel Claveau
--
http://mail.python.org/mailman/listinfo/python-list
I'm really trying to figure out the overall extent with which python
can interact with the windows system (curious person ;D). I can't seem
to find documentation on it, so if anyone could point me to that... i
know python can kill processes and return what processes are running,
so i was just wonde
[EMAIL PROTECTED] wrote:
> Is there a way to hide a python instance from the Task Manager process
> list?
>
And your reason for wanting to know would be...
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC/Ltd www.holdenweb.com
Love me, love my blog ho
Is there a way to hide a python instance from the Task Manager process
list?
--
http://mail.python.org/mailman/listinfo/python-list
xytho33 wrote:
I need to be able to programatically get the version info from a
windows DLL preferably in the same format as what is displayed in the
properties tab.
[snip]
You already posted this about forty minutes earlier and
Dennis Lee Bieber wrote a reply a mere ten minutes later.
Please be pa
ogram "filevers.py" distributed in the win32api download
that does exactly what I need.
Unfortunately I get this error when I execute the script:
C:\work>getfilever.py
Traceback (most recent call last):
File "C:\work\getfilever.py", line 8, in ?
d=win32
Thanks,
I'll take a look at using GhostScript and GSPrint instead.
Josh
--
http://mail.python.org/mailman/listinfo/python-list
Acrobat is stupid like this. I haven't yet found a way to prevent it
from launching a new window, so I gave up and went with GhostScript and
GSPrint instead. Works fabulously.
--
http://mail.python.org/mailman/listinfo/python-list
Hi All,
I am trying to print a pdf file from python using the Win32api
shellexecute method and am having a problem, or perhaps just a
misunderstanding, with the bshow parameter. Am I correct to assume that
if the bshow parm is set to 0, that the program will not show when
launched? e.g
68 matches
Mail list logo