[python-win32] passing image as string/stream from python to vb

2006-11-17 Thread Michael Schulz
Hi, I'm a beginner on the python-win32 field, so please excuse stupid questions ;-) We have an vb application that uses a python com server. This python module generates images in a stringio object. We want to pass the image as a string / stream to the vb application. This is in a way working, as

Re: [python-win32] Unpackaged binary version of pywin32

2006-11-17 Thread Ross McKerchar
Paul Moore wrote: > On 11/14/06, Ross McKerchar <[EMAIL PROTECTED]> wrote: >> I would like to repackage the win32 extensions as an msi using the the >> bdist_msi distutils extension, allowing me to deploy the package to >> multiple clients using group policy. > > The executable installer (bdi

[python-win32] RE working in interactive but not in regular code

2006-11-17 Thread James Matthews
I have this RE things= re.findall(r'\?Brand\=\w+\&pg=\w+',site) now when i run it against a site it returns everything in a list ( in the interactive interpreter however when i run it start alone it won't work?? Why? -- http://www.goldwatches.com ___ P

Re: [python-win32] Unpackaged binary version of pywin32

2006-11-17 Thread David Fraser
Ross McKerchar wrote: > Paul Moore wrote: > > On 11/14/06, Ross McKerchar <[EMAIL PROTECTED]> wrote: > >> I would like to repackage the win32 extensions as an msi using the the > >> bdist_msi distutils extension, allowing me to deploy the package to > >> multiple clients using group policy. >

[python-win32] Listing query results

2006-11-17 Thread rieh25
Hello, I would like to know how to list query results. I've found usefull information about insert/update queries... conn = odbc.odbc("test1_Data") cursor = conn.cursor() cursor.execute("INSERT INTO local_cmgenadm (Application,Run_Date,Run_DateYMD,status) values (\'rimDev2PrdMdbDistrictPermit\',\

[python-win32] Does pywin32-odbc support several users?

2006-11-17 Thread rieh25
I'm thinking of implementing pywin32 to implement access to an Oracle database, to users of an application built in Zope . Is this a good idea, or is pywin32's odbc feature intended for a single user? Thanks -- View this message in context: http://www.nabble.com/Does-pywin32-odbc-support-severa

Re: [python-win32] Does pywin32-odbc support several users?

2006-11-17 Thread Jim Vickroy
rieh25 wrote: >I'm thinking of implementing pywin32 to implement access to an Oracle >database, to users of an application built in Zope . Is this a good idea, or >is pywin32's odbc feature intended for a single user? > >Thanks > > pywin32's odbc interface provides connection objects -- as many

Re: [python-win32] Does pywin32-odbc support several users?

2006-11-17 Thread rieh25
Ok, thanks... Jim Vickroy wrote: > > rieh25 wrote: > >>I'm thinking of implementing pywin32 to implement access to an Oracle >>database, to users of an application built in Zope . Is this a good idea, or >>is pywin32's odbc feature intended for a single user? >> >>Thanks >> >> > pywin32's od

Re: [python-win32] Listing query results

2006-11-17 Thread Tim Roberts
rieh25 wrote: > Hello, I would like to know how to list query results. I've found usefull > information about insert/update queries... > > conn = odbc.odbc("test1_Data") > cursor = conn.cursor() > cursor.execute("INSERT INTO local_cmgenadm > (Application,Run_Date,Run_DateYMD,status) values > (\'rim

Re: [python-win32] RE working in interactive but not in regular code

2006-11-17 Thread Tim Roberts
James Matthews wrote: > I have this RE things= re.findall(r'\?Brand\=\w+\&pg=\w+',site) now > when i run it against a site it returns everything in a list ( in the > interactive interpreter however when i run it start alone it won't > work?? Why? Show us an example, including what you expect and

Re: [python-win32] Retaining a value during a recursive function

2006-11-17 Thread Tim Roberts
James Matthews wrote: > The function just overwrites the list in my function is there anyway i > can fix this! > def find_all_items(site): > site = urllib.urlopen(site).read() > all_items = re.findall(r'watch\.asp\?\w+\=\w*\&\w*\=\w+',site) > next_page = re.findall(r'Watches\.asp\?\w+\=

Re: [python-win32] RE working in interactive but not in regular code

2006-11-17 Thread Bob Gailer
James Matthews wrote: > I have this RE things= re.findall(r'\?Brand\=\w+\&pg=\w+',site) now > when i run it against a site it returns everything in a list ( in the > interactive interpreter however when i run it start alone it won't > work?? Why? You will probably get more help if you tell us w