[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

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' providing

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

2006-07-24 Thread Dean Allen Provins
setup ( name = 'batch', \ version= '1.14',\ description= 'Converts LAS files from MD to TVD in batch',\ long_description= 'snipped...',\ author = 'Dean Allen Provins, P. Geoph.',\ author_email = '[EMAIL PROTECTED]',\ url

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_FETCH_NEXT) Roger Thanks

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 Professional. It is a command line driven routine that works

[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

[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

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 my python code which runs under Linux. This code uses curses.ascii (isspace specifically). The Win version