Re: DDE (eSignal)

2006-11-30 Thread BBands
Thomas Heller wrote: > Looks like a bug, either in the dde module or the dde server. > But it's easy to find a workaround: > '1402.6700\x00\x12\x00*\x00\x00\x004\xfb\x12\x00\xfd\x1a\xd9w4\xc1\x00'.split("\0")[0] > '1402.6700' float(last.split("\0")[0]) works for me. Thanks for tha

Re: DDE (eSignal)

2006-11-30 Thread Thomas Heller
BBands schrieb: > I have a Python ap that needs current stock prices, which I want to get > from eSignal's DDE server. Following the win32all example: > > import win32ui > import dde > server = dde.CreateServer() > server.Create("eSignalDDE") > conversation = dde.CreateConversation(server) > conve

DDE (eSignal)

2006-11-30 Thread BBands
I have a Python ap that needs current stock prices, which I want to get from eSignal's DDE server. Following the win32all example: import win32ui import dde server = dde.CreateServer() server.Create("eSignalDDE") conversation = dde.CreateConversation(server) conversation.ConnectTo("WINROS", "Last"