Hello Mark,
Thank you for the response.
Just to share Erwin is an Data Modelling tool. I wanted to access Erwin
through python and perform manipulations on DataModel through it.
Regards,
Pranav
On Wed, May 17, 2023 at 6:21 PM Mark Hammond
wrote:
> I'm sorry, but you are very unlikely to find
I'm sorry, but you are very unlikely to find anyone on this list with
erwin experience. pywin32 is a general purpose library that allows
talking to *any* COM object, so there are literally hundreds and
hundreds of different apps it can work with. I've never even heard of
erwin and have no idea
Hello Team,
I am getting an error while using persistence_units.CloseAll() method of
persistence_units module. of win32com
Error: AttributeError: ''
object has no attribute 'CloseAll'
Below is my code where i am trying to access and erwin datamodel , check
connection and close connection.
i
Hello.
I hope you are doing well. I have some questions regarding the mapping from
VBA to Python. This is regarding the COM object SOLIDWORKS. I am trying to
translate the following VBA code:
Set skSegment = Part.SketchManager.CreateSpline((pointArray))
Part.ClearSelection2 True
Part.Sketch
Dear users,
Hope you are well and safe and enjoying the summer wherever you are.
I have 2 questions and I would highly appreciate it if someone can answer
them.
1- The Pywin32 seems to indicate 2 things, a Python IDE and it is also an
extension to be added to Python using pip install pywin32 fo
Hello!
I use win32com module and everything is ok but I cannot find the way how to
pass VT_DECIMAL variant value to COM object's method.
There is a COM interface:
interface IProperty : IDispatch
{
...
[propget, id(DISPID_VALUE)]
HRESULT Value([out, retval] VARIANT* pVal);
[propput, id(DISPID
Woah, awesome. Thanks Tim!. Since this is for a personal side project I
would never have spent enough time to get that working. Thanks!
___
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32
Hi ladies/gentlemen,
What I do now is based on Motorola Scan Bar Code SDK to do some development.
SDK is COM thing. there are API Commands and API Events as they called.
API Commands’ development is finished. But Events no, I tried, but failed.
Could u give some help ~ ~.
Thank you.
from
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
On 6/11/2011 11:33 PM, Michel Claveau wrote:
Hi!
In win32con, I do not found this constant: FILE_ATTRIBUTE_REPARSE_POINT
= 1024 # 0x400
Exemple of use:
import ctypes
rep=u"C:\\web\\fichiers"
FILE_ATTRIBUTE_REPARSE_POINT = 1024 # 0x400
vret = ctypes.windll.kernel32.GetFileAttributesW(rep)
if vret
Hi!
In win32con, I do not found this constant: FILE_ATTRIBUTE_REPARSE_POINT = 1024
# 0x400
Exemple of use:
import ctypes
rep=u"C:\\web\\fichiers"
FILE_ATTRIBUTE_REPARSE_POINT = 1024 # 0x400
vret = ctypes.windll.kernel32.GetFileAttributesW(rep)
if vret & FILE_ATTRIBUTE_REPA
hitheam mohamed wrote:
>
> I have a script that runs smoothly on a local copy of an excel
> workbook. I want to implement this so that it can access a shared
> version of the workbook but I would like to kick out any users that
> currently have the shared version open. Is it possibly to kick out an
Hi,
I have a script that runs smoothly on a local copy of an excel workbook. I want
to implement this so that it can access a shared version of the workbook but I
would like to kick out any users that currently have the shared version open.
Is it possibly to kick out any users with an open
David Hutto wrote:
> On Tue, Mar 23, 2010 at 6:11 PM, Tim Roberts wrote:
>
>> Phung Thuy Vuong wrote:
>>
>>> Can anyone give me some hint please? I'm trying to make a log file
>>> which keep track of a specific application. For example, I need to
>>> punch the time et date where an appli
Phung Thuy Vuong wrote:
>
> Can anyone give me some hint please? I'm trying to make a log file
> which keep track of a specific application. For example, I need to
> punch the time et date where an application, such as Firefox, is
> opened and when it's closed. I also need to detect when the
> ap
Hello!
Can anyone give me some hint please? I'm trying to make a log file which keep
track of a specific application. For example, I need to punch the time et date
where an application, such as Firefox, is opened and when it's closed. I also
need to detect when the application goes to idle a
Hi All,
I built a Python com server to solve regular expressions for use in a VBA
application. Here's the code:
import pythoncom
import re
import string
class reObj:
_public_methods_ = ["re"]
_reg_progid_ = "Python.reObj"
_reg_clsid_ = pythoncom.Crea
Patrick Asselman wrote:
> How would i translate a bit of visual basic code like below to Python?
>
> Range("F7").Select
> Selection.Copy
> Range("CO7").Select
> Selection.PasteSpecial Paste:=xlPasteFormats, Operation:=xlNone, _
> SkipBlanks:=False, Transpose:=False
>
> I'm t
How would i translate a bit of visual basic code like below to Python?
Range("F7").Select
Selection.Copy
Range("CO7").Select
Selection.PasteSpecial Paste:=xlPasteFormats, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False
I'm trying to copy the formatting of one cel
d...@shragmir.com wrote:
> This is not the end of the world, because I can write the client
> application to use win32 API calls instead of the Python calls. But does
> anyone have any notion of why this is happening? I am hoping the answer
> may help me write clients in other applications (where
I am writing a simple client and server that communicate using a
duplex-mode named pipe on Windows. For my initial effort, the server used
the Windows API calls to set up the pipe and communicate with it, but the
client used the regular Python file methods. This works for exactly one
transaction.
var YAHOO = {'Shortcuts' : {}};
YAHOO.Shortcuts.hasSensitiveText = true;
YAHOO.Shortcuts.sensitivityType = ["sensitive_news_terms"];
YAHOO.Shortcuts.doUlt = false;
YAHOO.Shortcuts.location = "us";
YAHOO.Shortcuts.document_id = 0;
YAHOO.Shortcuts.document_type = "";
YAHOO.Shortcuts.document_title =
:
f = Files[0]
Files = []
else:
pass
self.after(1000, self.filesDropped)
[/code]
Thanks for everyone's help,
Alex
> Date: Tue, 29 Apr 2008 10:58:17 +0100
> From: [EMAIL PROTECTED]
> CC: python-win32@python.org
> Subject: Re: [python-win32] (no subject)
Alex Denham wrote:
Thanks mike, i was thinking of doing something along those lines using the os
modules tmpfile() method.
Althought i'm pretty i can post custom events to the Tkinter event loop, will
try that first.
Sorry, Alex. I've only just spotted this thread. I think what's happening is
MAIL PROTECTED]; python-win32@python.org
> Subject: Re: [python-win32] (no subject)
>
> Alex Denham wrote:
> > Hi all,
> >
> > I'm just wondering but when i try to access/update anything on my
> > Tkinter GUI from one particular function, my whole program
>
Alex Denham wrote:
Hi all,
I'm just wondering but when i try to access/update anything on my
Tkinter GUI from one particular function, my whole program
crashes/freezes with no error.
The function is part of a class which handles all the GUI
drawing/event handling etc.
The function in questi
Hi all,
I'm just wondering but when i try to access/update anything on my Tkinter GUI
from one particular function, my whole program crashes/freezes with no error.
The function is part of a class which handles all the GUI drawing/event
handling etc.
The function in question gets called from a w
Good day all.
I am trying to write a short Python script to create
some PDFs.
I create instances of App, AVDoc and PDDoc using the
following syntax:
app = Dispatch("AcroExch.App")
doc = Dispatch("AcroExch.AVDoc")
pd = Dispatch("AcroExch.PDDoc")
However when I call pd = doc.GetPDDoc(), the Python
"Schollnick, Benjamin" <[EMAIL PROTECTED]> writes:
> Folks,
>
> I have run into a small problem, that I believe is a Win32net
> issue...
>
> My application has been running (via py2exe) on XP systems without
> a problem Just recently someone tried to use the application on a
> Win
Title: Message
Folks,
I have run into a small problem, that I believe
is a Win32net issue...
My application has been running (via py2exe) on
XP systems without a problem Just recently
someone tried to use the application on a Windows 2000 system, and
received:
* The proced
Assuming you have tkinter installed as part of your Python distribution,
I have attached a demo (courtesy of Mark Hammond) that shows much of
what is possible (e.g., menus, buttons, etc.).
Hope this helps.
-- jv
habtamu gulilat wrote:
am habtamu from Netherlands
I need to prepare userinte
am habtamu from Netherlands
I need to prepare userinterface for my Arc GIS model created by Modelbuilder. I want my userinterface to run my model. So would uyou please send me those syntax able me to create simple python based user interface to run my Model.
If possible would you please send
pears in this world you may know him by this sign,
that the dunces are all in confederacy against him. (Swift)
"Mark Hammond"
<[EMAIL PROTECTED]>
05/09/2005 06:38 PM
To
<[EMAIL PROTECTED]>, "'python-win32
Mailinglist'"
cc
Subject
RE: [pytho
Of [EMAIL PROTECTED]
Sent: Tuesday, 10 May 2005 2:55 AM
To: python-win32 Mailinglist
Subject: [python-win32] (no subject)
Hello again, all-
I am still trying to understand Windows COM from Python. This time, I am
trying to access a custom COM object an in-house developer has developed in
C++.
Hello again, all-
I am still trying to understand Windows
COM from Python. This time, I am trying to access a custom COM object an
in-house developer has developed in C++. The class is stored in a dll registered
with my system, and can be called from VB as follows:
From a working VB project:
hi, i can't seem to create a bitmap in memory using pywin32. my assert
fails, telling me that the bitmap size is (0,0)?
here's fragments:
class window:
def __init__
...
self.hwnd = CreateWindow(...)
wnd=CreateWindowFromHandle(self.hwnd)
wdc=wnd.GetDC()
this is bad form, I would rather
pass the variables to the wxDialog1. thanks.
Jeff
-Original Message-
From: Steve Holden [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 26, 2005 10:00 AM
To: Jeff Peery
Subject: Re: [python-win32] (no subject)
Perhaps you could post the code of your
Jeff Peery wrote:
Hello, I am using wxpython and I am having trouble passing variables
from one frame to another. If I have a parent frame – frame1 – and I
call a dialog using the following text:
dlg = wxDialog2.wxDialog2(self)
try:
dlg.ShowModal()
finally:
Hello, I am using wxpython and I
am having trouble passing variables from one frame to another. If I have a
parent frame – frame1 – and I call a dialog using the following
text:
dlg = wxDialog2.wxDialog2(self)
try:
dlg.ShowModal()
finally:
Hello,
after more than a day I found a solution by myself :-))
The Solution: In the old code the LogInfoMsg is the last statement before the
return statement (in the FetchData function). If I put an other statement
between LogInfoMsg and return statement it works in debug and in start modus -
don'
40 matches
Mail list logo