lly, since only two file types are affected, it's not difficult fixing the
problem after the fact. It's not nearly as bad as installing Visual Studio .DEV!
Thanks again,
Matthew
PS: If you happen to have a script (preferably Python) that will associate file types
with applicat
I finally installed ActivePython 2.2.2 just last week and was annoyed to find my .PY
and .PYW file types re-associated to PythonWin. Can I expect the same behavior with
2.2.3 and 2.3.2? Is there a way to disable the association of file types when
installing ActivePython?
TIA,
Matthew
g called.
Does anybody know of some tricks to track down circular references? Perhaps a place in
the Python source code where I could set a break point?
Matthew
___
ActivePython mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.
ls that
there's enough money in the pot for that feature, they claim the feature and
manage adding it to the software and collect the money.
Matthew Sherborne
___
ActivePython mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.Act
Title: RE: zlib and Debug
Yes, thanks for the prompt reply. I was a little too hasty in sending the message. zlibmodule.c has the following comment, which solved my problem:
/* Windows users: read Python's PCbuild\readme.txt */
Thanks again,
Matthew
-Original Me
ere else?
TIA,
Matthew
though, it's just a guess :)
GBU
Matthew
Jeff Shannon wrote:
>John Mark Agosta wrote:
>
>
>
>>During interactive development one can reload modules that have been
>>imported and modified by doing a reload(module_name). How does this work
>>if the module
ut what the file is and download it yourself, using python
code, like ftplib or httplib.
I hope this'll help you get started on the right track.
GBU
Matthew Sherborne
A wrote:
>Hi,
>I know that it is possible to call a function in DLL library( even though I have
>never tried it)
&g
fore you can do that.
Unfortunately I don't know how if or under what name that COM object is registered,
so I couldn't do it.
In the activestate help look up win32api in the index. And search for python
examples on the net rather than VB examples which can be hard to translate.
There are plenty
could either fix it, or release
a "Known Issues.txt" file with the program, letting them know that they
must update their windows release if this happens. :)
GBU
Matthew Sherborne
A wrote:
>Hi,
>I have a program that I compiled( with Installer) into exe for using
>on Win3
try putting all the code in the same file, or try
renaming FormLoc.py to check if it's loading the wrong one.
GBU
Matthew Sherborne
___
ActivePython mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
h for "partial get" and "range header".
For using httplib in python see this URL:
http://www.python.org/doc/lib/httpconnection-objects.html
Sorry I couldn't be more help. :)
GBU
Matthew Sherborne
A wrote:
>On 10 Jul 2002, at 13:47, Matthew Sherborne wrote:
>
>
ct you down the tree.
When you get there, ask that server if it'll redirect for you. If it
does then that's your primary DNS :)
There's a pydns project at sourceforge. I think it's
http://pydns.sourceforge.net
May God Bless You Abundantly
Matthew Sherborne
_
ls).
or on 2.2 and above
print mode.ST_ATIME
:)
I don't know how to change them (other than reading and writing to the file)
May God Bless You
Matthew Sherborne
___
ActivePython mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.Ac
27;;' or line[0] == '#': continue
fields=string.split(line)
if fields[0] == 'domain': defaults['domain'] = fields[1]
elif fields[0] == 'search': pass
elif fields[0] == 'options': pass
e
Title: RE: retrieving from standard out from child processes
Regarding your second question, "tips/tricks to developing Python Gui's", I recently posted a similar question to the wxPython user group. Although my question was aimed at wxPython users, I believe that the same issues are involved
Try this link.
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/66455
Hope it helps
GBU
Matthew Sherborne
___
ActivePython mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http
You want GetActiveObject
http://aspn.activestate.com/ASPN/Reference/Products/ActivePython/win32com/py
thoncom__GetActiveObject_meth.html
But I've never got it working myself.
GBU
Matthew Sherborne
- Original Message -
From: "Michael Robin" <[EMAIL PROTECTED]>
T
PythonCOM from activestate allows you to get the IE Document COM object and
this acts like a DOM.
http://aspn.activestate.com/ASPN/Mail/Message/activepython/1014204
GBU
Matthew Sherborne
___
ActivePython mailing list
[EMAIL PROTECTED]
To unsubscribe
t a directory was not empty.
>>>
Hope that helps.
GBU
Matthew Sherborne
ray aren't
read so, it doesn't allocate memory for them? Is the GBA app running on
windows?
It must be to do with memory allocation. Any other ideas?
Matthew Sherborne
- Original Message -
From: "Bob Kline" <[EMAIL PROTECTED]>
To: "Ed Hopkins" &l
Try Passing \x00 characters in one long string to split it up into many
little strings. eg:
>>> lst = ['bacon', 'egg', 'ham']
>>> str = '\00'.join(lst)
>>> str
'bacon\x00egg\x00ham'
>>> str += '\00'
>>> str
'bacon\x00egg\x00ham\x00'
>>>
___
ActivePy
Yes, that's a good point. Huge Memory usage.
Does anyone know a way to recompile python with minimal stuff easily?
I remember Deeply Embedded python compiled without floating point and stuff
but they don't seem to be around anymore.
Matthew Sherborne
- Original Message -
Fr
r, and the
.py file are like permanent configuration file for it.
Comments Appreciated
Matthew Sherborne
led
versions for those, and do the same thing. (I never compile anything on
windows, I find it too hard to get anything to work like that :)
Trust me. Python is the easiest language to add stuff on to. Delphi has
package dependency, and path problems. Java has path problems galore! C has
and API compi
.5
3.0
>>> 5 / 1.5
3.3335
Amazing! Thanks Guido and friends :)
Matthew Sherborne
Python is easier to read and write. It looks nicer.
:)
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 26, 2002 9:21 AM
Subject: FW: (no subject)
>
>
> Hey,
>
> I've got a question. What are the advantages of using python as oppose to
> perl?
x27;, delim, code, x, y)
>>> data
':U\x0e\x00\x0c\x00'
>>
>>> d, c, x, y = unpack('cchh', data)
>>> d
':'
>>> c
'U'
>>> x
14
>>> y
12
Matthew Sherborne
- Original Message -
From: "Srividy
ttern checking the data, to see which port our
hardware is installed on.
In the main thread is a wxPython app. If there's no H/W attached we allow
the user to go cancel, which must stop the thread.
So to cancel, we send the string 'quit' on the queue :)
Thanks again. I didn't k
;... >>> obj =
B()>>> obj.speak()Traceback
(most recent call last): File "", line 1, in ?
File "", line 3, in speakTypeError: super() argument 1 must be
type, not class>>>
Matthew
is something that Python needs? Is it easy to
implement for different platforms? Is it there, but I haven't noticed
it?
Any Ideas?
Thanks
Matthew Sherborne
conversation threads are not ending?
If it's to do with a maximum simultaeneous conversation count, you should be
able to set this somwhere in python. Don't know where though. Sorry :)
GBU
Matthew Sherborne
- Original Message -
From: "Matt Whiteley" <[EMAIL PROTECT
Yes. Good response. Your code is best :)
GBU
Matthew Sherborne
___
ActivePython mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Sorry to be a show off, but I reckon that this way
may be faster. Sorry again. The other replies are very helpful.
:)
def findKey(val):
for key, value in
dict.items():
if value == val: return
key
return None
GBU
Matthew Sherborne
- Original Message -
From: &quo
Rename the script's extension to .pyw
This will make pythonw.exe run it instead of python.exe. This will remove
the command prompt like window.
GBU
Matthew Sherborne
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 01, 2002
Google uses python to script their cluster(s).
http://www.google.com/jobs/openings.html
(Search for python on that page, I counted 10)
Also check out these URLs:
http://home.rmi.net/~lutz/advocacy.html
http://py-howto.sourceforge.net/advocacy/advocacy.html
GBU
Matthew Sherborne
OK, Sorry for the smart remark.
How would it be done normally; by COM automation or by editing files?
Python does both. Tell how and I'll send you the python script that does it.
Matthew Sherborne
___
ActivePython mailing list
[EMAIL PROTECTE
Yes but I don't know how.
Tell me how to do it in another language, and I'll tell you how in python ;)
GBU
Matthew
- Original Message -
From: "A" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>; <[EMAIL
.zip
For DOS, try Hans Nowak's Python-DX, which supports this, at:
http://www.cuci.nl/~hnowak/
For Unix, search Deja News (using http://www.python.org/search/) for "serial
port" with author Mitch Chapman (his post is a little too long to include
here).
Hope this helps
Matthew
')
To catch events see the code in MainWindow.py. It doesn't work because it's
part of a bigger project, but you can see how things work.
Also another really good way of embedding IE is in a wxPython application.
In the wxPython demo application see the file ActiveXWrapper_IE.py
GBU
Matth
- Original Message -
From: Matthew
To: [EMAIL PROTECTED]
Sent: Thursday, January 31, 2002 10:05 AM
Subject: [Komodo-discuss] Debugger Prob
Hi all,
I wrote an app for automating IE. The Komodo
debugger doesn't stop on breakpoints called from
pythoncom.PumpWaitingMes
Cancel that.
I did it a different way
:)
- Original Message -
From:
Matthew
To: [EMAIL PROTECTED]
Sent: Tuesday, January 29, 2002 10:49
AM
Subject: Advanced COM help request
Hi all,
I hate to do this but my situation is
desparate!
Could
Also, try this..
>> headerObj.__class__
and
>> dir(headerObj.__class__)
and
>> headerObj.__class__._prop_map_get_
and
>> headerObj.__class__._prop_map_put_
Have fun :)
Matthew Sherborne
- Original Message -
From: "Anesh Madapoosi" <[EMAIL PRO
Have you tried:
>> headerObj.name = "value"
and
>> headerObj.SetAttribute('name', 'value')
or
>> headerObj.Attribute['name'] = 'value'
Just an idea :)
Matthew Sherborne
- Original Message -
From: "Anesh Mada
need to implement two callback
interfaces,
IServiceProvider and IHTMLEditHost
Still there! Been 5 days now... :(
Thanks in advance
Matthew
r something vague type "modules 'VAGUE THING'". Eg. "modules
mail". Of course, while in help mode.
Or use the HTML documentation.
Matthew Sherborne
- Original Message -
From: "nimesh nedungadi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
e to get to the other computer. If you increase the
TTL, this will stop timeout's in this situation.
Also sometimes timeouts are caused by [cable] modems dialling, or sleeping
equipment waking up. To avoid this, just eat the first couple of exceptions
and try again ;)
GBU
Matthew
- Origi
I'd also like to do this.
I'd like to implement IServiceProvider, IHTMLEditHost to
automate Internet Explorer in edit mode.
I'm just about to put up a recipe as far as I've
got.
GBU
Matthew Sherborne
HI All,
Please reply to this directly rather than through the list (since I am not a
subscriber).
I loaded down win32all, especially to check out the demo for serial
communications (win32comport_demo). It looks interesting , but will not
run... It chokes when "import win32file" is called
A single alternate ActiveState install package would be handy. This way,
there would be the current one for development, and a "run-time" package,
for distribution only. This run-time could be identical to the current
package, minus the PythonWin IDE, and the Python Docs.
Of course, I could creat
Is it possible to create (or suggest!) a Windows Installer (.MSI) package
for ActivePython that does not contain the PythonWin IDE or Documentation?
We would use this to distribute the Python runtime to our Windows PC, and
allow users to run internally developed scripts, but limit the runtime
foot
51 matches
Mail list logo