<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
On 5/2/2012 8:25 AM, Aravind Kamble wrote:
<blockquote
cite="mid:CACw8P-kOzCRW5qRMsbMm3X_ScaMdGH4nX1T39Kx1yYVp01zX9w@mail.gmail.com"
type="cite">Hi All,
<div><br>
</div>
<div>Hope I am posting in correct mailing list. Am facing another
problem now. My logic is to get file versions of files inside
two directories and compare them. I am trying to get filename
and version as key, value pairs in a directory. I have a
function written which will provide me the file version. I have
file names in a list. I am not able to populate my directory
with filename and version. Code snippet looks something like
this,</div>
<div><br>
</div>
<div>Filename_Version_dir={}</div>
<div><br>
</div>
<div>from filename in filename_version_list:</div>
<div> # I want to populate my directory here with
filename and version given by the function
get_file_version(filename)</div>
<div> # I want something like
Filename_Version_dir.append(filename:get_file_version)</div>
</blockquote>
Filename_Version_dir[filename] = get_file_version(filename)<br>
<blockquote
cite="mid:CACw8P-kOzCRW5qRMsbMm3X_ScaMdGH4nX1T39Kx1yYVp01zX9w@mail.gmail.com"
type="cite">
<div><br>
</div>
<div><br>
</div>
<div>What is the best thing I can do here?</div>
<div><br>
</div>
<div>Thanks in advance,</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>./Aravind</div>
<div><br>
</div>
<div><br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
python-win32 mailing list
<a class="moz-txt-link-abbreviated" href="mailto:python-win32@python.org">python-win32@python.org</a>
<a class="moz-txt-link-freetext" href="http://mail.python.org/mailman/listinfo/python-win32">http://mail.python.org/mailman/listinfo/python-win32</a>
</pre>
</blockquote>
</body>
</html>