ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-list
python-list
COM server in python - howto restart server
by Alexander Eisenhuth other posts by this author
Feb 17 2003 8:36PM messages near this date
Re: Python any good? | ANN: twander 3.0 Released
Hello,

I'm working on a COM-server in python accessed by excel. 

Do I need to shutdown excel each time I'm working on the python server script to get the cha
nges tested or exists a configuration possibility of the server.

Now

$python <serverScript>  --register | --unregister 

seems somehow only shutdown the interface and not the implementation. (or VBA uses a cached 
object).

VBA
===
Sub TestPython()
    Dim PyObj As Object
    Set PyObj = Nothing
    Set PyObj = CreateObject("PythonServers.MyServer")
    response = PyObj.Hello("What's up")
    MsgBox response
    Set PyObj = Nothing
End Sub

Any help ?

Regards 
Alexander

-- 
http://mail.python.org/mailman/listinfo/python-list

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved