jolly <[EMAIL PROTECTED]> writes:
> import time
>
> today = time.localtime(time.time())
> theDate = time.strftime("%A %B %d", today)
> [...]
>
> can someone explain to me the %A and the %B?
Your first resort for more information about the standard library
should be the online standard library reference
<URL:http://docs.python.org/lib/>.
Searching that reference, you'll find the documentation for the time
module <URL:http://docs.python.org/lib/module-time.html> and
specifically the time.strftime function
<URL:http://docs.python.org/lib/module-time.html#l2h-2816> which
describes the format codes it expects.
--
\ "Democracy is the art of running the circus from the monkey |
`\ cage." -- Henry L. Mencken |
_o__) |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list