<HTML >
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>os.path.isfile with *.tar.gz</TITLE>
</HEAD>
<BODY >
<DIV>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Hello All,</FONT>
<BR> <FONT SIZE=2 FACE="Arial">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.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">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 version number will change quite frequently so I just want to check if there is a file with that format name.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">I have tried variations of: os.path.isfile( os.path.join("C:\\temp\\", "rqp-win32-app", "*.tar.gz"))</FONT>
<BR><FONT SIZE=2 FACE="Arial">but nothing seem to work. Does anyone have suggestions on how I could get this to work?</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Thanks in advance for the help,</FONT>
<BR><FONT FACE="Lucida Calligraphy">Emile</FONT>
</P>
</DIV>
<DIV> </DIV>
<DIV> This message may contain privileged and/or confidential information. If you have received this e-mail in error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you have done so. Thank you. </DIV></BODY></HTML>