Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #22069

Re: Accessing the files by last modified time

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
From Sangeet <mrsangeet@gmail.com>
Newsgroups comp.lang.python
Subject Re: Accessing the files by last modified time
Date Fri, 23 Mar 2012 05:59:35 -0700 (PDT)
Organization http://groups.google.com
Lines 22
Message-ID <23086952.178.1332507576146.JavaMail.geo-discussion-forums@ynes7> (permalink)
References <26215939.1574.1332416026298.JavaMail.geo-discussion-forums@ynlt17> <8cbfb1b2-94ed-4830-90fa-976a831ebb97@l14g2000vbe.googlegroups.com>
NNTP-Posting-Host 202.131.155.21
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
X-Trace posting.google.com 1332507576 15397 127.0.0.1 (23 Mar 2012 12:59:36 GMT)
X-Complaints-To groups-abuse@google.com
NNTP-Posting-Date Fri, 23 Mar 2012 12:59:36 +0000 (UTC)
In-Reply-To <8cbfb1b2-94ed-4830-90fa-976a831ebb97@l14g2000vbe.googlegroups.com>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=202.131.155.21; posting-account=4XjAMQoAAAArwxavuD9MgiNlNaGtjfzF
User-Agent G2/1.0
Xref csiph.com comp.lang.python:22069

Show key headers only | View raw


On Thursday, 22 March 2012 17:34:43 UTC+5:30, Tim Williams  wrote:
> On Mar 22, 7:33 am, Sangeet <mrsang...@gmail.com> wrote:
> > Hi
> >
> > I am new to the python programming language.
> >
> > I've been trying to write a script that would access the last modified file in one of my directories. I'm using Win XP.
> >
> > I saw a similar topic, on the forum before, however the reply using (os.popen) didn't work out for me. I'm not sure whether it was due to syntax errors either.
> >
> > Thanks,
> > Sangeet
> 
> Check out os.stat()

Hey, thanks I tried playing around with this. I haven't got what I exactly wanted, but on the way there for sure! :)

Sangeet

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Accessing the files by last modified time Sangeet <mrsangeet@gmail.com> - 2012-03-22 04:33 -0700
  Re: Accessing the files by last modified time Chris Rebert <clp2@rebertia.com> - 2012-03-22 04:49 -0700
    Re: Accessing the files by last modified time Sangeet <mrsangeet@gmail.com> - 2012-03-23 06:00 -0700
    Re: Accessing the files by last modified time Sangeet <mrsangeet@gmail.com> - 2012-03-23 06:00 -0700
  Re: Accessing the files by last modified time Tim Williams <tjandacw@cox.net> - 2012-03-22 05:04 -0700
    Re: Accessing the files by last modified time Neil Cerutti <neilc@norwich.edu> - 2012-03-22 13:06 +0000
    Re: Accessing the files by last modified time Sangeet <mrsangeet@gmail.com> - 2012-03-23 05:59 -0700
  Re: Accessing the files by last modified time Peter Otten <__peter__@web.de> - 2012-03-22 13:38 +0100

csiph-web