Re: DBI module deprecated at Python 2.5--what to use in its place?

2009-07-14 Thread dana
I'm looking for a free module. Is yours a commercial product? Thanks. Dana -- http://mail.python.org/mailman/listinfo/python-list

Re: DBI module deprecated at Python 2.5--what to use in its place?

2009-07-08 Thread dana
bc (http://code.google.com/p/ > pyodbc/) Thanks thrice. We "have" to use the version of Python our software vendor supports. Presently, that's pywin32 version 2.5. Dana -- http://mail.python.org/mailman/listinfo/python-list

DBI module deprecated at Python 2.5--what to use in its place?

2009-07-07 Thread dana
rated mean it has been removed entirely, or does Python 2.5 simply issuing a warning? 2) What do I use in place of DBI for my Python 2.4. scripts that import modules DBI and ODBC together. I don't use DBI directly. It was simply a dependency for the ODBC module as best I knew. Thanks.

getting data from a port in use

2005-02-01 Thread Dana Marcusanu
library. Dana On 2005-02-01, Dana Marcusanu <[EMAIL PROTECTED]> wrote: > I am trying to use Python to get the data received at a specific port (in > use) on my computer. What do you mean "in use"? You mean you want to evesdropt on data that's being sent to an existing

RE: getting data from a port in use

2005-02-01 Thread Dana Marcusanu
using the work_socket instead of s. My program never ran to that line so I did not notice the error. Thank you, Dana --- Tony Meyer <[EMAIL PROTECTED]> wrote: > > I am trying to use Python to get the data received at a > > specific port (in use) on my computer. I already tried b

RE: getting data from a port in use

2005-02-01 Thread Dana Marcusanu
--- Tony Meyer <[EMAIL PROTECTED]> wrote: > > I am trying to use Python to get the data received at a > > specific port (in use) on my computer. I already tried below > > code which seems to hang at the statement accepting > > connections. > > Seems to hang, or does hang? Using print statemen

getting data from a port in use

2005-01-31 Thread Dana Marcusanu
PORT = 2005 s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) s.bind((socket.gethostname(), PORT)) s.listen(1) work_socket, addr = s.accept() data = s.recv(1024) print data s.close() Thank you,

DDE syntax help

2005-01-25 Thread Dana Marcusanu
most recent call last): File "", line 1, in ? error: Request failed >>> ddec.Exec("ser2") Traceback (most recent call last): File "", line 1, in ? error: Exec failed >>> Does anyone know the syntax to request information from a DDE server? I coul