s())
File "D:\python27\lib\site-packages\win32\lib\pywintypes.py", line 64, in
__import_pywin32_system_module__
import _win32sysloader
ImportError: DLL load failed: %1 is not a valid Win32 application.
What is the reason? How can I solve this problem?
Best regards
Andreas
___
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
t byref, but this gave me the same exception.
So, can someone explain me how to send this event to the window?
Or perhaps my idea is total idiotic and one can archive this easy by a
differnet way?
Thanks in advance
Andreas
___
python-win32 mailing lis
30.09.2010 20:14:
Andreas Holtz wrote:
I have a program which I can control via COM and Python's win32com.
This program will visualize a big tree, which gets created by my COM-commands.
The problem is, that after each modification of the tree (like insert), the
program
refreshes its display
am 30.09.2010 23:12:
Andreas Holtz wrote:
The program is CATIA from Dassault.
They have a parameter to control the refresh of
the display (CATIAApplication.RefreshDisplay = False) but this
only works within their macro engine. For details see here:
http://ww3.cad.de/foren/ubb/Forum137/HTML/001099
I'm bound to Python 2.5.
I make heavy usage of 4Suite which is not supported for Python 2.6+ so I can
not upgrade :(
Or does anyone know a good XML lib that support xpath?
Regards
Andreas
schrieb Michael Manfre am 26.03.2013 14:08:
Anyone running a no longer supported version of Pyth
I didn't check it but will have a look.
Thank you very much :)
Andreas
schrieb Amaury Forgeot d'Arc am 29.04.2013 00:38:
2013/4/29 Andreas Holtz mailto:[email protected]>>
I'm bound to Python 2.5.
I make heavy usage of 4Suite which is not supported for Pyth
having to create a separate class/file for each
environment and queue combination would be painful.
>
This works for me by setting the _exe_args_ class variable (similar to
_svc_name_) in my service class (found in win32serviceutil.py).
Regards
to change layout and paper size.
I already checked out
http://timgolden.me.uk/python/win32_how_do_i/print.html
Is there really no way to print PDFs with Python setting whatever print
settings I want?
I thought Python can do anything... :'-(
T
3rd
party software (like Ghostscript).
But I don't know how...
Thanks
Andreas
schrieb Tim Roberts am 04.03.2014 05:52:
On Mar 3, 2014, at 1:14 PM, Andreas Holtz wrote:
I need want to print PDF files without the usage of tools like Adobe, Foxit,
etc.
THe printer does understand PDF files
ntually got the Word
reference as an example:
http://msdn.microsoft.com/en-us/library/office/ff837519%28v=office.15%29.aspx
Same works with other Microsoft products and probably for most commercial
products with COM support.
Your last questions I can't answer.
Hope this helps.
Andreas
schrieb
follow this idea a little more.
Thanks a lot :-)
Andreas
___
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
nerated by Dispatch)
do.vars[param]
is implemented as
do.vars.Get(param)
Regards
Andreas
PS: Feel free to correct me, if I am wrong.
schrieb £ukasz Jakubowski am 10.05.2014 12:29:
Self-reply...
I got a bit confused actually, DOpus.vars is just like a bit broken list with
extra methods/fiel
Another disadvantage of using EnsureDispatch instead of Dispatch is, that the user has to have
write-rights on the Python-folder as the files are generated into a subfolder.
Good luck with CATIA, you will need it!
Andreas
anton schrieb am 03.02.2015 um 23:49:
Hi,
I an using python
using win32co
'title'] = 'This is a title'
selectedFile = tkFileDialog.askopenfile(mode='r', **options)
is the code you are looking for.
And perhaps you'll ask yourself, why you wanted to waste the precious time of
others at the
beginning, when learning and exploring by yoursel
or "ask niceley and show that you tried yourself to find
a solution".
Andreas
Ethan Furman schrieb am 02.03.2015 um 23:21:
> On 03/02/2015 01:48 PM, Andreas Holtz wrote:
>
>> And perhaps you'll ask yourself, why you wanted to waste the precious time
>>
I am one 2.5 user, too.
Reason is, that thanks to 4Suite (which is a fantastic XML framework) we are
bound to 2.5.
I didn't find a better XML framework for Python but it's not gonna developed
further and will not be
ported to 3.x (reminds me of contacting Jeremy Kloth for a port to a newer
Pytho
this, too.
As you only want to print text files, you can use AutoIt to automate Notepad++
or the like.
Set the default setting of the printer to landscape manually before.
Regards
Andreas
Hans Becker schrieb am 10.06.2015 um 20:48:
> Just about a month ago I started reading Learning Python
.
thx a lot in advance!
Andreas
---
[python-win32] Damaged Pythonwin installation
Greg Chapman glc at well.com
Thu Jan 1 14:27:22 EST 2004
I seem to have done something which has broken Pythonw
Item(1).Position.GetComponents(positionArray)
print result
# print result gives defaultvalues of positionArray,
# but should give other values
# snip
Thanks in advance
Andreas
--
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat .
Is there a way in python to provide an appropriate unicode object
receiving the output without ignoring the encoding statement ?
Any proven way using IXSLProcessor generating properly encoded HTML into
python ?
Kind regards
Andreas Neubauer
__
Hi Peter,
>From Python call Catia.SystemService.Evaluate() and hand over a VB script that
>does what you need
but returns an Array.
This works for all CATIA methods that use an Array as Input/Output-parameter.
Regards
Andreas
Peter Enenkel schrieb am 17.02.2017 um 23:29:
>
to be able to use Arrays as
Input/Output-parameters.
Regards
Andreas
Peter Enenkel schrieb am 19.02.2017 um 20:38:
> Hello Andreas,
>
> thanks for this workaround suggestion. Do you know if this will work if I
> want to evaluate something
> context sensitive? I.E. Instea
I missed your second questions:
I have no experience with this. But it looks like one could wrap a Python-array
in such a VARIANT
object and hand this to CATIA, like:
v = VARIANT(pythoncom.VT_BYREF | pythoncom.VT_ARRAY | pythoncom.VT_R4, 12*[1.])
Worth a try.
Peter Enenkel schrieb am 19.02.2017
called.
What am I missing?
Thanks for your Help
Best regards
Andreas Merl
___
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
What am I missing?
Thanks for your Help
Best regards
Andreas Merl
___
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
25 matches
Mail list logo