[Tutor] Tutor Digest, Vol 69, Issue 21 - Change a text string from a list and change it into an integer(WinXP/py2.6.2/Beginner)

Shashwat Anand anand.shashwat at gmail.com
Tue Nov 10 05:09:57 CET 2009


On Tue, Nov 10, 2009 at 9:12 AM, Katt <the_only_katala at verizon.net> wrote:

> First I want to thank the following people for your help: Wayne W.,
> Shashwat A., and Alan G.  I appreciate the input/criticism as I continually
> learn more and more.
>
> It seems that I am not sure if I am posting correctly to the right thread
> and am not sure if it has to do with the fact that I am getting the posts in
> a Digest manner.  Let me know if you have any suggestions.
>

On http://mail.python.org/mailman/listinfo/tutor there is an option which
says - Would you like to receive list mail batched in a daily digest? May be
you checked it. Anyways you can try changing your settings to help remove
the Digest manner

<snip>


> I of course made sure to include the strftime in my import calls.  I may
> change the int(strftime("%Y")) for localtime().tm_year because I think I
> heard it returns the value as an integer, but will have to experiment.
>

Yes, it does. You can always check the type though.
>>> type(time.localtime().tm_year)
<type 'int'>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20091110/c35f8f8a/attachment.htm>


More information about the Tutor mailing list