[Tutor] Tutor Digest, Vol 98, Issue 7

Walter Luna wluna93 at gmail.com
Wed Apr 4 18:35:49 CEST 2012


Dear Python friends:

Thank you for the rapid response, I researched the information you sent me
and it has a lot of resources that I can use. I will use some of those
resources and continue with my learning journey, I am sure that I will have
a lot of questions but I feel confident that I have your support.

Best regards

Walter Luna

On Tue, Apr 3, 2012 at 7:54 AM, <tutor-request at python.org> wrote:

> Send Tutor mailing list submissions to
>        tutor at python.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://mail.python.org/mailman/listinfo/tutor
> or, via email, send a message with subject or body 'help' to
>        tutor-request at python.org
>
> You can reach the person managing the list at
>        tutor-owner at python.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Tutor digest..."
>
>
> Today's Topics:
>
>   1. Re: New to Python programing (Wayne Werner)
>   2. Re: breeds of Python ..... (Wayne Werner)
>   3. New to Python programing (Cranky Frankie)
>   4. Re: New to Python programing (Christian Witts)
>   5. Re: New to Python programing (Cranky Frankie)
>   6. Open source projects build using Python (Simon Yan)
>   7. Question about login=''.join(choice(lc) for j in  range(llen))
>      (Khalid Al-Ghamdi)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 3 Apr 2012 05:02:13 -0500 (CDT)
> From: Wayne Werner <wayne at waynewerner.com>
> To: wesley chun <wescpy at gmail.com>
> Cc: "tutor at python.org" <tutor at python.org>, Walter Luna
>        <wluna93 at gmail.com>
> Subject: Re: [Tutor] New to Python programing
> Message-ID: <alpine.DEB.2.02.1204030453540.13922 at gilgamesh>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> On Mon, 2 Apr 2012, wesley chun wrote:
>
> > greetings walter, and welcome to the Python family!
> <snip>
> > as far as books go, the best way to learn Python is by writing games.
> > this is an approach that works both with children as well as adults.
> > there are several excellent books that can help you with this regard:
>
> There is another book that I didn't notice mentioned: Game Programming:
> The L line, the express
> line to learning.
>
> The book is unfortunately named because it makes no mention of Python, but
> it's
> quite a good book for learning both programming and Python... and games!
>
> Good luck and welcome to Python!
> -Wayne Werner
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 3 Apr 2012 05:12:38 -0500 (CDT)
> From: Wayne Werner <wayne at waynewerner.com>
> To: Modulok <modulok at gmail.com>
> Cc: tutor at python.org
> Subject: Re: [Tutor] breeds of Python .....
> Message-ID: <alpine.DEB.2.02.1204030509270.13922 at gilgamesh>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> On Sat, 31 Mar 2012, Modulok wrote:
> > If you're just starting out, go with 3.x. If you have a need for some
> third
> > party modules that aren't yet available for 3.x, you'll have to stick
> with 2.x.
>
> For a handy list, check out the Python3 Wall of Shame (soon to be
> superpowers?)
> http://python3wos.appspot.com/
>
> HTH,
> Wayne
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 3 Apr 2012 09:50:01 -0400
> From: Cranky Frankie <cranky.frankie at gmail.com>
> To: tutor at python.org
> Subject: [Tutor] New to Python programing
> Message-ID:
>        <CAON5Gn06rpVCDUp1aMJY9WMrQgpYdv9QnBYvpexwAqKOt2fEYQ at mail.gmail.com
> >
> Content-Type: text/plain; charset=windows-1252
>
> Another resourse for learning to program is YouTube. They just had a
> segment on "60 Minutes" about a guy who does all kinds of well
> regarded free courses on-line, unfortunately I can't remberber the
> URL. I've viewed several Stanford University programming courses, and
> there are many Python specific vidoes there as well. Just something
> else to check out.
>
> --
> Frank L. "Cranky Frankie" Palmeri
> Risible Riding Raconteur & Writer
> ?The problem with quotes on the Internet is that
> it is often difficult to verify their authenticity.?
> - Abraham Lincoln
>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 03 Apr 2012 16:09:21 +0200
> From: Christian Witts <cwitts at compuscan.co.za>
> To: Cranky Frankie <cranky.frankie at gmail.com>
> Cc: tutor at python.org
> Subject: Re: [Tutor] New to Python programing
> Message-ID: <4F7B0491.6040800 at compuscan.co.za>
> Content-Type: text/plain; charset="windows-1252"; Format="flowed"
>
> On 2012/04/03 03:50 PM, Cranky Frankie wrote:
> > Another resourse for learning to program is YouTube. They just had a
> > segment on "60 Minutes" about a guy who does all kinds of well
> > regarded free courses on-line, unfortunately I can't remberber the
> > URL. I've viewed several Stanford University programming courses, and
> > there are many Python specific vidoes there as well. Just something
> > else to check out.
> >
> Are you possibly thinking of the Khan Academy [1] ?
>
> [1] http://www.khanacademy.org/
> --
>
> Christian Witts
> Python Developer
> //
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://mail.python.org/pipermail/tutor/attachments/20120403/68e50894/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 5
> Date: Tue, 3 Apr 2012 10:12:36 -0400
> From: Cranky Frankie <cranky.frankie at gmail.com>
> To: tutor at python.org
> Subject: Re: [Tutor] New to Python programing
> Message-ID:
>        <CAON5Gn3A4Nrf1KTxvvCDiDkY7gYpSLGRTQpyfaaX_BRmbhedxg at mail.gmail.com
> >
> Content-Type: text/plain; charset=windows-1252
>
> On Tue, Apr 3, 2012 at 10:09 AM, Christian Witts <cwitts at compuscan.co.za>
> wrote:
>
> > Are you possibly thinking of the Khan Academy [1] ?
> >
> > [1] http://www.khanacademy.org/
>
> Yes, that was it, thanks.
>
>
> --
> Frank L. "Cranky Frankie" Palmeri
> Risible Riding Raconteur & Writer
> ?The problem with quotes on the Internet is that
> it is often difficult to verify their authenticity.?
> - Abraham Lincoln
>
>
> ------------------------------
>
> Message: 6
> Date: Tue, 3 Apr 2012 22:45:48 +0800
> From: Simon Yan <simonyan at fedoraproject.org>
> To: Tutor at python.org
> Subject: [Tutor] Open source projects build using Python
> Message-ID:
>        <CALEWkc8MQdABTP=5m9MsWApUe6M1xVZ-u-kOBfyyjL056MhcPg at mail.gmail.com
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> Dear All,
>
> I've been working on Python for a while but haven't got any chance to work
> on any projects yet. I've spent most of my time reading codes. (I know this
> is bad when you want to actually learn a programming language)
> It would be a better idea that I can start to join an open source projects
> that is built with Python instead of starting up a new project. (I have no
> good ideas at this moment anyways) I know there are lots of projects which
> I can work on, but just wanted to hear some recommendations what are the
> ones good for a long time Python "reader"?
>
> --
> Regards,
> YeeYaa (Simon Yan)
>
> http://simonyan.fedorapeople.org/
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://mail.python.org/pipermail/tutor/attachments/20120403/884be329/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 7
> Date: Tue, 3 Apr 2012 17:54:12 +0300
> From: Khalid Al-Ghamdi <emailkgnow at gmail.com>
> To: tutor at python.org
> Subject: [Tutor] Question about login=''.join(choice(lc) for j in
>        range(llen))
> Message-ID:
>        <CABM2kup_ZVe0JES7rptVaKUX8oLYDrjXWsJHvdDxB8vfQaLaoA at mail.gmail.com
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
> The following code tries to generate some dummy data for regex exercises.
> My question is in reference the line before last:
>
>    dom="".join(choice(lc) for j in range (dlen))
>
> how does the interpreter know what "j" is supposed to refer to when it was
> not mentioned prior?
>
>
> from random import randrange, choice
> from string import ascii_lowercase as lc
> from sys import maxsize
> from time import ctime
>
> tlds = ('com', 'edu', 'net', 'org', 'gov')
>
> for i in range(randrange(5,11)):
>    dtint=randrange(maxsize)    #pick a random number to use to generate
> random date in next line
>    dtstr=ctime(dtint)          #date string
>    llen=randrange(4,8)         #login is shorter
>    login=''.join(choice(lc) for j in range(llen))
>    dlen=randrange(llen,13)     #domain is longer
>    dom="".join(choice(lc) for j in range (dlen))
>
>
> print('{}::{}@{}.{}::{}-{}-{}'.format(dtstr,login,dom,choice(tlds),dtint,llen,dlen))
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://mail.python.org/pipermail/tutor/attachments/20120403/d57a8c0b/attachment.html
> >
>
> ------------------------------
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>
> End of Tutor Digest, Vol 98, Issue 7
> ************************************
>



-- 
Walter Luna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20120404/5f62d51b/attachment-0001.html>


More information about the Tutor mailing list