Re: [python-win32] printer identification on Windows network

2006-10-17 Thread Dean Allen Provins
Jürgen, Tim Golden and Tim Roberts: Jürgen Kareta wrote: > > > Hello Dean, > > >>I am not a Windows programmer, but have managed to port some Linux codes to >>the >>python/windows environment. To allow windows users to print, I used some code >>that needed to know the name of the 'shares' pr

[python-win32] printer identification on Windows network

2006-10-17 Thread Dean Allen Provins
I am not a Windows programmer, but have managed to port some Linux codes to the python/windows environment. To allow windows users to print, I used some code that needed to know the name of the 'shares' providing printers (there were 2 of them in the environment in which I work). The code looks i

[python-win32] build on Linus, install on Windows: site packages not registered

2006-07-24 Thread Dean Allen Provins
stutils.core import setup setup ( name = 'batch', \ version= '1.14',\ description= 'Converts LAS files from MD to TVD in batch',\ long_description= 'snipped...',\ author = 'Dean Allen Provins,

Re: [python-win32] ODBC and Oracle

2006-07-04 Thread Dean Allen Provins
Roger Roger Upole wrote: > Dean Allen Provins wrote: > snip=== > > The parameter to odbc.SQLDataSources is a flag, rather than a position. > > import odbc > s=odbc.SQLDataSources(odbc.SQL_FETCH_FIRST) > while s: > print s > s=odbc.SQLDataSources (odbc.SQL_

[python-win32] ODBC and Oracle

2006-06-28 Thread Dean Allen Provins
Hello: Is there a trick to adding a Python ODBC connection to Oracle? Under Windows, with Python's "odbc" module, I can see MS Access (twice), 2 system databases that the IT people created. and at various times. dbase and excel as data sources. Curiously, the list of sources varies with my attem

Re: [python-win32] pywintypes24.dll necessary??

2006-06-28 Thread Dean Allen Provins
Tim Roberts wrote: > On Thu, 22 Jun 2006 08:49:35 -0600, Dean Allen Provins > <[EMAIL PROTECTED]> wrote: > > >>The user's requirement was for a batch program to process hundreds of files - >>so >>I wrote one on Linux, and ported it to WinXP Profes

[python-win32] pywintypes24.dll necessary??

2006-06-22 Thread Dean Allen Provins
Hello: The user's requirement was for a batch program to process hundreds of files - so I wrote one on Linux, and ported it to WinXP Professional. It is a command line driven routine that works very well on Linux, but is hampered (as I discovered) by the MS treatment of DOS windows (no copy/paste

[python-win32] pywintypes24.dll necessary?? follow-up info

2006-06-22 Thread Dean Allen Provins
Hello again: I forgot to indicate versions etc. python-2.4.3 numpy-0.9.6r1.win32-py2.4 pywin32-208.win32-py2.4 plus my python code in several modules. Regards, Dean Confidentiality Notice: The information transmitted herein may contain confidential, proprietary and/or privileged material w

Re: [python-win32] curses and _curses

2006-05-02 Thread Dean Allen Provins
John Machin wrote: > On 3/05/2006 12:44 AM, Dean Allen Provins wrote: > >> Roger Upole wrote: >> >>> Bill Burns wrote: >>> >>>>> On 2/05/2006 8:16 AM, Dean Allen Provins wrote: >>>>> >>>>> >>>>>> He

Re: [python-win32] curses and _curses

2006-05-02 Thread Dean Allen Provins
Roger Upole wrote: > Bill Burns wrote: > >>>On 2/05/2006 8:16 AM, Dean Allen Provins wrote: >>> >>> >>>>Hello: >>>> >>>>I just installed the 2.4 version of Python on a WinXP box. I then >>>>copied over m

[python-win32] curses and _curses

2006-05-01 Thread Dean Allen Provins
Hello: I just installed the 2.4 version of Python on a WinXP box. I then copied over my python code which runs under Linux. This code uses "curses.ascii" (isspace specifically). The Win version of the libraries has a curses directory and within it, the ascii.py module. Unfortunately, the __ini