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


Groups > comp.lang.python > #76242

Re: how to change the time string into number?

References <53EC14EC.2090503@gmail.com>
Date 2014-08-14 11:55 +1000
Subject Re: how to change the time string into number?
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.12952.1407981320.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Thu, Aug 14, 2014 at 11:46 AM, luofeiyu <elearn2014@gmail.com> wrote:
> s="Aug"
>
> how can i change it into 8 with some python time module?

Is this homework? If not, let me set you some homework.

Step 1: Read the docs for some Python time module.
Step 2: See if it lets you do what you want.
Step 3: Return to step 1 with a different module, until your problem is solved.

ChrisA

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


Thread

Re: how to change the time string into number? Chris Angelico <rosuav@gmail.com> - 2014-08-14 11:55 +1000

csiph-web