os.path.isfile with *.tar.gz

2007-03-15 Thread Boudreau, Emile
Hello All, I'm new to Python and it looks like people that post here do get a good answer back so I figured I'd try my luck. I'm trying to check a directory to see if there is a file that has the name "startOfString" + some version number + "inst.tar.gz" (component-8.3.16-inst.tar.gz) The

Subject line with smtplib.sendmail()

2007-03-20 Thread Boudreau, Emile
Hey, I'm trying to send mail from my server to my machine with test results. I can send the email no problem however, the email doesn't contain a "recipient list" or a "subject line". I was wondering how would I go about getting the information on the actual "To" and "Subject" lines so that

RE: Subject line with smtplib.sendmail()

2007-03-20 Thread Boudreau, Emile
:[EMAIL PROTECTED] On Behalf Of Fredrik Lundh Sent: Tuesday, March 20, 2007 11:08 AM To: python-list@python.org Subject: Re: Subject line with smtplib.sendmail() Boudreau, Emile wrote: > I'm trying to send mail from my server to my machine with test > results. I can send the email no pr

RE: Subject line with smtplib.sendmail()

2007-03-20 Thread Boudreau, Emile
access to all the variables I have? thanks Emile Boudreau -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Boudreau, Emile Sent: Tuesday, March 20, 2007 1:51 PM To: python-list@python.org Subject: RE: Subject line with smtplib.sendmail() Thanks for the

2 Command prompt at the same time

2007-03-21 Thread Boudreau, Emile
Hello, I have two batch files and I'm trying to run them in parallel. I haven't been able to find any information on how to make python open 2 command prompt and then make each prompt run one of the batch files. Can anyone point me in the right direction? Thanks, Emile Boudreau Th

Two Command prompts in parallels

2007-03-22 Thread Boudreau, Emile
Hello, I have two batch files and I'm trying to run them in parallel. I haven't been able to find any information on how to make python open 2 command prompt and then make each prompt run one of the batch files. Can anyone point me in the right direction? Thanks, Emile Boudreau Th

Sending emails to 3 addresses....

2007-03-30 Thread Boudreau, Emile
Hello all, I'm trying to send a results email to 3 people. For some reason only the first person in the list will receive the email but in the received email it shows the 3 addresses. Here is my code, can someone show me where I'm going wrong?? Thanks sendMail('this is the subject line', 'the resu

RE: Sending emails to 3 addresses....

2007-03-30 Thread Boudreau, Emile
Thanks so much I would of never found that out. Problem SOLVED Emile Boudreau -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Williams Sent: Friday, March 30, 2007 9:12 AM To: Boudreau, Emile Cc: python-list@python.org Subject: Re: Sending

Problem with filter()

2007-04-03 Thread Boudreau, Emile
Hey all, So I'm trying to filter a list with the built-in function filter(). My list looks something like this: ['logs', 'rqp-8.2.104.0.dep', 'rqp-8.2.93.0.dep', 'rqp-win32-app-8.2.96.0-inst.tar.gz', 'rqp-win32-app-8.2.96.0-inst.tar.gz'] Calling filter like this: compFiles = filter(is_Dev,

RE: Problem with filter()

2007-04-03 Thread Boudreau, Emile
now the results of the filter is an empty list and i know it shouldn't be. Emile Boudreau From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Boudreau, Emile Sent: Tuesday, April 03, 2007 10:52 AM To: python-list@python.org Subject: Problem with

Extracting a file from a tarball

2007-04-03 Thread Boudreau, Emile
I am trying to extract one file from a tarball, without success. This is the code I'm using to open the tarball and extract the file: tar = tarfile.open(component+'-win32-app-'+bestVersion+'-dev.tar.gz', 'r') extractedFile = tar.extractfile('symbols.xml') And this is my error: Traceback (most re

RE: Extracting a file from a tarball

2007-04-03 Thread Boudreau, Emile
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carsten Haese Sent: Tuesday, April 03, 2007 1:42 PM To: python-list@python.org Subject: Re: Extracting a file from a tarball On Tue, 2007-04-03 at 13:26 -0400, Boudreau, Emile wrote: > I am trying to extract one file from a tar

Using/finding ODBC and DBI

2007-04-09 Thread Boudreau, Emile
Hello all, I'm trying to use ODBC and DBI but I don't seem to have the right files on my system. I have looked around and I can't find what I'm looking for. From the information I have been able to find these are not part of the standard python library. True?? Where can I find the modules that I'm