Uploaded Test files
This commit is contained in:
parent
f584ad9d97
commit
2e81cb7d99
16627 changed files with 2065359 additions and 102444 deletions
19
venv/Lib/site-packages/win32/Demos/dde/ddeclient.py
Normal file
19
venv/Lib/site-packages/win32/Demos/dde/ddeclient.py
Normal file
|
@ -0,0 +1,19 @@
|
|||
# 'Request' example added jjk 11/20/98
|
||||
|
||||
import win32ui
|
||||
import dde
|
||||
|
||||
server = dde.CreateServer()
|
||||
server.Create("TestClient")
|
||||
|
||||
conversation = dde.CreateConversation(server)
|
||||
|
||||
conversation.ConnectTo("RunAny", "RunAnyCommand")
|
||||
conversation.Exec("DoSomething")
|
||||
conversation.Exec("DoSomethingElse")
|
||||
|
||||
conversation.ConnectTo("RunAny", "ComputeStringLength")
|
||||
s = 'abcdefghi'
|
||||
sl = conversation.Request(s)
|
||||
print('length of "%s" is %s'%(s,sl))
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue