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


Groups > comp.lang.python > #76242 > unrolled thread

Re: how to change the time string into number?

Started byChris Angelico <rosuav@gmail.com>
First post2014-08-14 11:55 +1000
Last post2014-08-14 11:55 +1000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#76242 — Re: how to change the time string into number?

FromChris Angelico <rosuav@gmail.com>
Date2014-08-14 11:55 +1000
SubjectRe: how to change the time string into number?
Message-ID<mailman.12952.1407981320.18130.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web