Providing trial section alone will not make much difference. You should
consider removing the need to sign in as well and focus on providing great
tutorial content.

Good luck

On Sun, Nov 28, 2010 at 2:43 AM, Kok Cheng Tan <[email protected]> wrote:

> Hi,
>
> Thanks for the feedback.
> I will add a trial section that doesn't require login so that new visitors
> are able to give the website a try.
>
> Regards,
> Kok Cheng
>
> ---------- Forwarded message ----------
> From: <[email protected]>
> Date: Sun, Nov 28, 2010 at 2:41 AM
> Subject: Tutor Digest, Vol 81, Issue 105
> To: [email protected]
>
>
> Send Tutor mailing list submissions to
>        [email protected]
>
> 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
>        [email protected]
>
> You can reach the person managing the list at
>        [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Tutor digest..."
>
>
> Today's Topics:
>
>   1. Python Exercise (Kok Cheng Tan)
>   2. Reload() in v3?  WAS Re: IDEs (Alan Gauld)
>   3. Re: Reload() in v3?  WAS Re: IDEs (Alan Gauld)
>   4. Re: Python Exercise (Mac Ryan)
>   5. Re: normalize an array (Eike Welk)
>   6. Python Exercise ([email protected])
>   7. Re: Python Exercise (Joel Schwartz)
>   8. Re: normalize an array (John)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 27 Nov 2010 22:00:03 +0800
> From: Kok Cheng Tan <[email protected]>
> To: [email protected]
> Subject: [Tutor] Python Exercise
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi,
>
>
> I created this website for practising python online:
> http://www.pyschools.com.
> Hope to gather feedback from people here who are interesting in
> teaching and learning python.
>
> Regards,
> Kok Cheng
>
>
> ------------------------------
>
> Message: 2
> Date: Sat, 27 Nov 2010 15:04:57 -0000
> From: "Alan Gauld" <[email protected]>
> To: [email protected]
> Subject: [Tutor] Reload() in v3?  WAS Re: IDEs
> Message-ID: <[email protected]>
> Content-Type: text/plain; format=flowed; charset="iso-8859-1";
>        reply-type=response
>
>
> "Steven D'Aprano" <[email protected]> wrote
>
> > The other nine times out of ten *wink* I need to do debugging, and I
> > swap tabs and work in my interactive Python interpreter.
> >
> > import filename  # first time only
> > reload(filename)  # all subsequent times
>
> I'm working on the v3 version of my tutor and while testing some
> module code I tried to reload the module in IDLE... I got an error:
>
> >>> import os
> >>> reload(os)
> Traceback (most recent call last):
>  File "<pyshell#65>", line 1, in <module>
>    reload(os)
> NameError: name 'reload' is not defined
> >>>
>
> Has reload been removed in V3?
> Whats the alternative? Does a repeated import auto-reload?
>
> I'm surprised and confused...
>
> --
> Alan Gauld
> Author of the Learn to Program web site
> http://www.alan-g.me.uk/
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Sat, 27 Nov 2010 15:11:53 -0000
> From: "Alan Gauld" <[email protected]>
> To: [email protected]
> Subject: Re: [Tutor] Reload() in v3?  WAS Re: IDEs
> Message-ID: <[email protected]>
> Content-Type: text/plain; format=flowed; charset="iso-8859-1";
>        reply-type=response
>
>
> "Alan Gauld" <[email protected]> wrote
> > Has reload been removed in V3?
> > Whats the alternative? Does a repeated import auto-reload?
> >
> > I'm surprised and confused...
>
> Found it, its been moved into the imp module.
>
> You need to import imp and then do
>
> imp.reload(foo)
>
> >>> import os
> >>> reload(os)
> Traceback (most recent call last):
>  File "<pyshell#65>", line 1, in <module>
>    reload(os)
> NameError: name 'reload' is not defined
> >>> import imp
> >>> imp.reload(os)
> <module 'os' from 'C:\Python31\lib\os.py'>
> >>>
>
> I wonder why that was considered "a good idea"?
>
> Alan G.
>
>
>
> ------------------------------
>
> Message: 4
> Date: Sat, 27 Nov 2010 18:12:59 +0100
> From: Mac Ryan <[email protected]>
> To: [email protected]
> Subject: Re: [Tutor] Python Exercise
> Message-ID: <20101127181259.770ea...@jabbar>
> Content-Type: text/plain; charset=US-ASCII
>
>
> On Sat, 27 Nov 2010 22:00:03 +0800
> Kok Cheng Tan <[email protected]> wrote:
>
> > I created this website for practising python online:
> > http://www.pyschools.com. Hope to gather feedback from people here
> > who are interesting in teaching and learning python.
>
> Here you go with the first suggestion: remove the need to log in!
> (Haven't really watched at the site content, given that I - like 99% of
> the Internet users - wouldn't bother to login just to roam around a
> site).
>
> Mac.
>
>
> ------------------------------
>
> Message: 5
> Date: Sat, 27 Nov 2010 18:44:25 +0100
> From: Eike Welk <[email protected]>
> To: [email protected]
> Subject: Re: [Tutor] normalize an array
> Message-ID: <[email protected]>
> Content-Type: Text/Plain;  charset="iso-8859-1"
>
> Hello John!
>
> On Friday 26.11.2010 23:23:51 Peter Otten wrote:
> > John wrote:
> > > I know this is a simple problem, but I want to do it the most
> > > efficient way (that is vectorized...)
> > >
> > > import numpy as np
> > >
> > > a = np.array(([1,2,3,4],[1,.2,3,4],[1,22,3,4]))
> > > b = np.sum(a,axis=1)
> > >
> > > for i,elem in enumerate(a):
> > >     a[i,:] = elem/b[i]
> > >
> > > suggestions?
> >
> > I'm not a numpy expert, but:
> >
> > (a.transpose()/np.sum(a, axis=1)).transpose()
>
> The underlying feature of Peter's solution is called broadcasting. For a
> detailed explanation look at:
> http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html
>
>
> Eike.
>
>
> ------------------------------
>
> Message: 6
> Date: Sat, 27 Nov 2010 09:17:21 -0800 (PST)
> From: [email protected]
> To: [email protected]
> Subject: [Tutor] Python Exercise
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain;charset=iso-8859-15
>
>
> Hi - I just wanted to add to Mac's comment.  I don't have Google
> mail/gmail and don't want to create a mail account with them.  I was also
> wondering if I should just try clicking on links anyway and changed my
> mind and exited.
>
> Regards,
>
> Patty
>
>
>
>
> > On Sat, 27 Nov 2010 22:00:03 +0800
> > Kok Cheng Tan <[email protected]> wrote:
> >
> >> I created this website for practising python online:
> >> http://www.pyschools.com. Hope to gather feedback from people here
> >> who are interesting in teaching and learning python.
> >
> > Here you go with the first suggestion: remove the need to log in!
> > (Haven't really watched at the site content, given that I - like 99% of
> > the Internet users - wouldn't bother to login just to roam around a
> > site).
> >
> > Mac.
> > _______________________________________________
> > Tutor maillist  -  [email protected]
> > To unsubscribe or change subscription options:
> > http://mail.python.org/mailman/listinfo/tutor
> >
> >
>
>
>
>
> ------------------------------
>
> Message: 7
> Date: Sat, 27 Nov 2010 10:15:45 -0800
> From: "Joel Schwartz" <[email protected]>
> To: <[email protected]>
> Subject: Re: [Tutor] Python Exercise
> Message-ID: <007201cb8e5f$1d256b60$6501a...@jlaptop>
> Content-Type: text/plain;       charset="us-ascii"
>
>
>
>
> > -----Original Message-----
> > On Sat, 27 Nov 2010 22:00:03 +0800
> > Kok Cheng Tan <[email protected]> wrote:
> >
> > > I created this website for practising python online:
> > > http://www.pyschools.com. Hope to gather feedback from
> > people here who
> > > are interesting in teaching and learning python.
> >
> I logged in using my google account and the first page that came up was a
> ranking of competitors in the site's Python Tournament. I would recommend
> that you bring people to an introductory learning page after their first
> sign in (if you keep the sign-in requirement, which I also think is a bad
> idea) rather than a competition page--that is, unless you want to
> intimidate
> some (many?) beginning programmers into looking elsewhere.
>
> Joel
>
>
>
>
> ------------------------------
>
> Message: 8
> Date: Sat, 27 Nov 2010 19:41:41 +0100
> From: John <[email protected]>
> To: Eike Welk <[email protected]>
> Cc: [email protected]
> Subject: Re: [Tutor] normalize an array
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Thank you both! Broadcasting is a concept I hadn't yet read about, but
> knew was important for efficient python programming... thanks for the
> link!
>
>
> On Sat, Nov 27, 2010 at 6:44 PM, Eike Welk <[email protected]> wrote:
> > Hello John!
> >
> > On Friday 26.11.2010 23:23:51 Peter Otten wrote:
> >> John wrote:
> >> > I know this is a simple problem, but I want to do it the most
> >> > efficient way (that is vectorized...)
> >> >
> >> > import numpy as np
> >> >
> >> > a = np.array(([1,2,3,4],[1,.2,3,4],[1,22,3,4]))
> >> > b = np.sum(a,axis=1)
> >> >
> >> > for i,elem in enumerate(a):
> >> > ? ? a[i,:] = elem/b[i]
> >> >
> >> > suggestions?
> >>
> >> I'm not a numpy expert, but:
> >>
> >> (a.transpose()/np.sum(a, axis=1)).transpose()
> >
> > The underlying feature of Peter's solution is called broadcasting. For a
> > detailed explanation look at:
> > http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html
> >
> >
> > Eike.
>
> > _______________________________________________
> > Tutor maillist ?- [email protected]
> > To unsubscribe or change subscription options:
> > http://mail.python.org/mailman/listinfo/tutor
> >
>
>
>
> --
> Configuration
> ``````````````````````````
> Plone 2.5.3-final,
> CMF-1.6.4,
> Zope (Zope 2.9.7-final, python 2.4.4, linux2),
> Python 2.6
> PIL 1.1.6
> Mailman 2.1.9
> Postfix 2.4.5
> Procmail v3.22 2001/09/10
> Basemap: 1.0
> Matplotlib: 1.0.0
>
>
> ------------------------------
>
>
> _______________________________________________
> Tutor maillist  -  [email protected]
> http://mail.python.org/mailman/listinfo/tutor
>
>
> End of Tutor Digest, Vol 81, Issue 105
> **************************************
>
>
> _______________________________________________
> Tutor maillist  -  [email protected]
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
>
_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to