Funktionierender Prototyp des Serious Games zur Vermittlung von Wissen zu Software-Engineering-Arbeitsmodellen.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ddeclient.py 434B

1 year ago
123456789101112131415161718
  1. # 'Request' example added jjk 11/20/98
  2. import dde
  3. import win32ui
  4. server = dde.CreateServer()
  5. server.Create("TestClient")
  6. conversation = dde.CreateConversation(server)
  7. conversation.ConnectTo("RunAny", "RunAnyCommand")
  8. conversation.Exec("DoSomething")
  9. conversation.Exec("DoSomethingElse")
  10. conversation.ConnectTo("RunAny", "ComputeStringLength")
  11. s = "abcdefghi"
  12. sl = conversation.Request(s)
  13. print('length of "%s" is %s' % (s, sl))