This is a python-win32 specific question?
On 8/20/07, RANDALL HOWELL [EMAIL PROTECTED] wrote:
I am trying to figure out how to code my stop pay. I
get paid 40 cents a stop for the first 22 stops, and
$1.40 for stops after that.
stops = 24
if stops 22:
stopPay = stops * .4
else:
I'm about to start a project at my current gig where I need to
automate interaction with Remedy. I poked around the net via Google
and I didn't see any recent posts anywhere on interfacing Python with
it..
Is anyone out there using Python/COM to connect with Remedy?
thanks!
--
admiral
Michael
I just wanted to follow up and say I completed my app today.
Everything worked wonderfully. Thanks to everyone.
If anyone needs assistance automating Quality Center with Python, let me know.
On 5/16/07, Michael March [EMAIL PROTECTED] wrote:
Hurray
mybug=bfact.Item(24)
mybug.Field
.'
mybug.Field(BG_DESCRIPTION).Value = 123
Traceback (most recent call last):
File stdin, line 1, in ?
AttributeError: 'unicode' object has no attribute 'Value'
On 5/15/07, Michael March [EMAIL PROTECTED] wrote:
Ok.. here is the VB example .. (this is for / provided by HP's
Quality Center help
mybug.Field(BG_DESCRIPTION)= 123
SyntaxError: can't assign to function call
On 5/15/07, Tim Roberts [EMAIL PROTECTED] wrote:
Michael March wrote:
Here is another example in context:
mybug.Field(BG_DESCRIPTION)
u'Test Set: Mercury Tours UI\nTest: [1]Welcome Page\nRun:
Run_9-11_11-43
Michael March wrote:
I have some sample code with this:
object.Field(UserDefined_01) = Open
Python barfs on that.. what would be the equivalent of that in Python?
Usually:
object.Field(UserDefined_01).Value = Open
VB has the concept of a default property for a collection
I have some sample code with this:
object.Field(UserDefined_01) = Open
Python barfs on that.. what would be the equivalent of that in Python?
thanks!
--
admiral
Michael F. March - mmarch at gmail dot com
___
Python-win32 mailing list
Cool..
The docs have this:
Public Property Field( _
ByVal FieldName As String _
) As Variant
Can we infer the default property from this?
On 5/10/07, Tim Roberts [EMAIL PROTECTED] wrote:
Michael March wrote:
I have some sample code with this:
object.Field(UserDefined_01) = Open
the Python versions had 2/3rds the number of lines as compared to the
VB versions.
Again.. thanks everyone!
On 4/3/07, Michael March [EMAIL PROTECTED] wrote:
Arg! I typed too soon..
There were a ton of those strings in the file and one of them WAS the
correct one!
Thanks LAZY WEB! :)
On 4
Newbie question..
I am trying to connect to a COM object.. and I can't figure how to code it..
In Makepy the name of the COM object is:
OTA COM 9.0 Type LIbrary (1.0)
The DDL is:
OTAClient.dll
The VB samples have stuff like this..
Dim td as New TDConnection
td.InitConnectionEx
# This CoClass is known by the name 'TDClient80.AmarillusHash.1'
Is that my golden ticket?
On 4/3/07, Mark Hammond [EMAIL PROTECTED] wrote:
Newbie question..
I am trying to connect to a COM object.. and I can't figure
how to code it..
You really need to consult the documentation for
11 matches
Mail list logo