Re: Teaching

2017-07-02 Thread Steve D'Aprano
On Mon, 3 Jul 2017 03:45 am, Mark- wrote: > ad...@python.org wrote: > >> Irv Kalb: >> > I teach Python at two colleges in Silicon Valley. >> >> >> and I don't give a fuck about that. > > Wow, some of you folks are so civilized. It's one person, a troll who is sending abusive and racist messag

Re: Teaching

2017-07-02 Thread Marko Rauhamaa
alister : > Beware of the Turing Tar-pit in which everything is possible but > nothing of interest is easy. I understand the pitfalls, but the alternatives are simply untenable. In particular, rule languages are the spawn of the devil. Marko -- https://mail.python.org/mailman/listinfo/python-l

Re: Teaching

2017-07-02 Thread alister
On Sun, 02 Jul 2017 17:45:39 +, Mark- wrote: > ad...@python.org wrote: > >> Irv Kalb: >> > I teach Python at two colleges in Silicon Valley. >> >> >> and I don't give a fuck about that. > > Wow, some of you folks are so civilized. It's not normally like this. We usually get a much higher

Re: Teaching

2017-07-02 Thread Mark-
ad...@python.org wrote: > Irv Kalb: > > I teach Python at two colleges in Silicon Valley. > > > and I don't give a fuck about that. Wow, some of you folks are so civilized. -- https://mail.python.org/mailman/listinfo/python-list

Re: Teaching the "range" function in Python 3

2017-07-02 Thread Rick Johnson
On Saturday, July 1, 2017 at 12:48:39 AM UTC-5, Christian Gollwitzer wrote: > Am 30.06.17 um 04:33 schrieb Rick Johnson: > > And to further drive home the point, you can manually > > insert a list literal to prove this: > > > > >>> range(10) > > [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] > > >>

Re: Teaching the "range" function in Python 3

2017-07-02 Thread Rick Johnson
On Thursday, June 29, 2017 at 9:58:23 PM UTC-5, Chris Angelico wrote: > On Fri, Jun 30, 2017 at 12:33 PM, Rick Johnson > > A better *FIRST* example would be something like this: > > > > def add(x, y): > > return x + y > > > > When teaching a student about functions, the first step is >

Re: Teaching the "range" function in Python 3

2017-06-30 Thread Christian Gollwitzer
Am 30.06.17 um 04:33 schrieb Rick Johnson: And to further drive home the point, you can manually insert a list literal to prove this: >>> range(10) [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] >>> for value in [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]: ... print(value) ... 0 1 No

Re: Teaching the "range" function in Python 3

2017-06-30 Thread Chris Angelico
On Sat, Jul 1, 2017 at 1:25 PM, MRAB wrote: > On 2017-07-01 03:12, Stefan Ram wrote: >> >> Terry Reedy writes: >>> >>> range is a class, not a function in the strict sense. >> >> >>»the built-in function range() returns an iterator of integers« >> >> The Python Language Reference, Re

Re: Teaching the "range" function in Python 3

2017-06-30 Thread MRAB
On 2017-07-01 03:12, Stefan Ram wrote: Terry Reedy writes: range is a class, not a function in the strict sense. »the built-in function range() returns an iterator of integers« The Python Language Reference, Release 3.6.0, 8.3 The for statement Python 3.6.1 (v3.6.1:69c0db5, Mar

Re: Teaching the "range" function in Python 3

2017-06-30 Thread Terry Reedy
On 6/30/2017 1:07 PM, Irv Kalb wrote: Thanks to everyone who responded to my question about teaching the range function. range is a class, not a function in the strict sense. Classes represent concepts. Instances of classes represent instances of the concept. Range represent the concept 'a

Re: Teaching the "range" function in Python 3

2017-06-30 Thread Irv Kalb
> On Jun 29, 2017, at 2:21 PM, Chris Angelico wrote: > > On Fri, Jun 30, 2017 at 6:57 AM, Irv Kalb wrote: >> I am wondering if other teachers have run into this. Is this a real >> problem? If so, is there any other way of explaining the concept without >> getting into the underlying details

Re: Teaching the "range" function in Python 3

2017-06-30 Thread Chris Angelico
On Sat, Jul 1, 2017 at 2:17 AM, Stefan Ram wrote: > However, to my defense, I must say that in this post my intend > was to demonstrate what is happening /behind the curtains/ when > the »for« loop is running, so in this special case, it might be > appropriate to use a function that otherw

Re: Teaching the "range" function in Python 3

2017-06-30 Thread Steve D'Aprano
On Fri, 30 Jun 2017 09:17 am, Stefan Ram wrote: b = a.__iter__() Don't do that. Dunder ("Double UNDERscore") methods like __iter__ should only be called by the Python interpreter, not by the programmer. The right way to create an iterator is to call the built-in function iter: b = iter(a)

Re: Teaching the "range" function in Python 3

2017-06-30 Thread Steve D'Aprano
Hello Irv, and welcome! Good to have a teacher of Python here! On Fri, 30 Jun 2017 06:57 am, Irv Kalb wrote: [...] > Now I am looking at the change in the range function. I completely understand > the differences between, and the reasons for, how range works differently in > Python 2 vs Python

Re: Teaching the "range" function in Python 3

2017-06-29 Thread Peter Otten
Gregory Ewing wrote: > Don't start with range(). Start with lists, and introduce the for > loop as a way to iterate over lists. Leave range() until much later. > You should be able to go a *long* way without it -- it's quite > rare to need to iterate over a range of ints in idiomatic Python > code

Re: Teaching the "range" function in Python 3

2017-06-29 Thread Rustom Mody
On Friday, June 30, 2017 at 8:28:23 AM UTC+5:30, Chris Angelico wrote: > On Fri, Jun 30, 2017 at 12:33 PM, Rick Johnson wrote: > > A better *FIRST* example would be > > something like this: > > > > def add(x, y): > > return x + y > > > > When teaching a student about functions, the firs

Re: Teaching the "range" function in Python 3

2017-06-29 Thread Chris Angelico
On Fri, Jun 30, 2017 at 12:33 PM, Rick Johnson wrote: > A better *FIRST* example would be > something like this: > > def add(x, y): > return x + y > > When teaching a student about functions, the first step is > to help them understand *WHY* they need to use functions, > and the second

Re: Teaching the "range" function in Python 3

2017-06-29 Thread Rick Johnson
On Thursday, June 29, 2017 at 4:01:07 PM UTC-5, Irv Kalb wrote: > > [...] > > But Python 3's version of the range function has been > turned into a generator. Again, I understand why this > happened, and I agree that this is a good change. The > problem is, how can I explain this concept to stude

Re: Teaching the "range" function in Python 3

2017-06-29 Thread Gregory Ewing
Irv Kalb wrote: In Python 2, I easily demonstrated the range function using a simple print statement: print range(0, 10) I discussed how range returns a list. I gave many examples of different values being passed into range, and printing the resulting lists. Next, I introduced the concept of

Re: Teaching the "range" function in Python 3

2017-06-29 Thread Cameron Simpson
On 29Jun2017 13:57, Irv Kalb wrote: Now I am looking at the change in the range function. I completely understand the differences between, and the reasons for, how range works differently in Python 2 vs Python 3. The problem that I've run into has to do with how to explain what range does in

Re: Teaching the "range" function in Python 3

2017-06-29 Thread Ian Kelly
On Thu, Jun 29, 2017 at 2:57 PM, Irv Kalb wrote: > Now I am looking at the change in the range function. I completely > understand the differences between, and the reasons for, how range works > differently in Python 2 vs Python 3. The problem that I've run into has to > do with how to explai

Re: Teaching the "range" function in Python 3

2017-06-29 Thread Chris Angelico
On Fri, Jun 30, 2017 at 6:57 AM, Irv Kalb wrote: > I am wondering if other teachers have run into this. Is this a real problem? > If so, is there any other way of explaining the concept without getting into > the underlying details of how a generator works? Do you think it would be > helpful

Re: Teaching Python

2014-10-31 Thread sohcahtoa82
On Friday, October 31, 2014 10:10:33 AM UTC-7, Seymore4Head wrote: > On Mon, 29 Sep 2014 11:44:01 -0400, Seymore4Head > wrote: > > >On Mon, 29 Sep 2014 15:18:31 +0200, Gabor Urban > >wrote: > > > >>Hi, > >> > >>my 11 years old son and his classmate told me, that they would like to > >>learn Pyth

Re: Teaching Python

2014-10-31 Thread Seymore4Head
On Mon, 29 Sep 2014 11:44:01 -0400, Seymore4Head wrote: >On Mon, 29 Sep 2014 15:18:31 +0200, Gabor Urban >wrote: > >>Hi, >> >>my 11 years old son and his classmate told me, that they would like to >>learn Python. They did some programming in Logo and turtle graphics, bat >>not too much. >> >>Doe

Re: Teaching Python

2014-09-29 Thread Terry Reedy
On 9/29/2014 9:18 AM, Gabor Urban wrote: Hi, my 11 years old son and his classmate told me, that they would like to learn Python. They did some programming in Logo and turtle graphics, bat not too much. Doesn anybody has an idea how to start? Python has a turtle module, so they can continue w

Re: Teaching Python

2014-09-29 Thread John Ladasky
I am actually teaching Python as a side job. My students have ranged from eighth graders, up to a Silicon Valley hardware engineer who had no coding experience, but who needed to do some test engineering. My wife is an elementary school teacher. We occasionally talk about age-appropriate lear

Re: Teaching Python

2014-09-29 Thread Simon Ward
On 29 September 2014 14:18:31 BST, Gabor Urban wrote: >my 11 years old son and his classmate told me, that they would like to >learn Python. They did some programming in Logo and turtle graphics, >bat >not too much. > >Doesn anybody has an idea how to start? "How to Think Like a Computer Scient

Re: Teaching Python

2014-09-29 Thread Seymore4Head
On Mon, 29 Sep 2014 15:18:31 +0200, Gabor Urban wrote: >Hi, > >my 11 years old son and his classmate told me, that they would like to >learn Python. They did some programming in Logo and turtle graphics, bat >not too much. > >Doesn anybody has an idea how to start? I ordered this book from the l

Re: Teaching Python

2014-09-29 Thread Chris Angelico
On Mon, Sep 29, 2014 at 11:38 PM, Rustom Mody wrote: >> https://docs.python.org/3/tutorial/ > > The official tutorial for an 11 year old?? I dont think so... I don't see why not, to be honest. Not a lot of difference between his 11yo son and my 12yo sister, and I just pointed her at the tutorial

Re: Teaching Python

2014-09-29 Thread Rustom Mody
On Monday, September 29, 2014 6:59:10 PM UTC+5:30, Chris Angelico wrote: > On Mon, Sep 29, 2014 at 11:18 PM, Gabor Urban wrote: > > my 11 years old son and his classmate told me, that they would like to learn > > Python. They did some programming in Logo and turtle graphics, bat not too > > much. >

Re: Teaching Python

2014-09-29 Thread Steven D'Aprano
Gabor Urban wrote: > Hi, > > my 11 years old son and his classmate told me, that they would like to > learn Python. They did some programming in Logo and turtle graphics, bat > not too much. > > Doesn anybody has an idea how to start? The Internet is a big place, I always start by searching :-)

Re: Teaching Python

2014-09-29 Thread Chris Angelico
On Mon, Sep 29, 2014 at 11:18 PM, Gabor Urban wrote: > my 11 years old son and his classmate told me, that they would like to learn > Python. They did some programming in Logo and turtle graphics, bat not too > much. > > Doesn anybody has an idea how to start? Right here: https://docs.python.org

Re: Teaching python to non-programmers

2014-04-14 Thread Mark Lawrence
On 14/04/2014 01:20, Steven D'Aprano wrote: On Mon, 14 Apr 2014 00:54:02 +0100, Mark Lawrence wrote: but the powers that be deem fit not to take any action over. There is no Internet police. Which is a good thing, for if there were, this sort of criticism of the Internet police is exactly the

Re: Teaching python to non-programmers

2014-04-14 Thread Ian Kelly
On Mon, Apr 14, 2014 at 12:13 AM, alex23 wrote: > http://www.ietf.org/rfc/rfc1855.txt > > If you are sending a reply to a message or a posting be sure you > summarize the original at the top of the message, or include just > enough text of the original to give a context. This will mak

Re: Teaching python to non-programmers

2014-04-13 Thread alex23
On 11/04/2014 3:42 PM, Rustom Mody wrote: On Friday, April 11, 2014 10:41:26 AM UTC+5:30, Chris Angelico wrote: On Fri, Apr 11, 2014 at 2:37 PM, Rustom Mody wrote: Right. Its true that when I was at a fairly large corporate, I was not told: "Please always top post!" What I was very gently and

Re: Teaching python to non-programmers

2014-04-13 Thread Steven D'Aprano
On Mon, 14 Apr 2014 00:54:02 +0100, Mark Lawrence wrote: > but the powers that be deem fit not > to take any action over. There is no Internet police. Which is a good thing, for if there were, this sort of criticism of the Internet police is exactly the sort of thing that would bring down their

Re: Teaching python to non-programmers

2014-04-13 Thread Mark Lawrence
On 13/04/2014 23:51, Rhodri James wrote: On Fri, 11 Apr 2014 21:20:05 +0100, wrote: On Thursday, April 10, 2014 3:40:22 PM UTC-7, Rhodri James wrote: It's called irony, and unfortunately Mark is reacting to an all-to-common situation that GoogleGroups foists on unsuspecting posters like yours

Re: Teaching python to non-programmers

2014-04-13 Thread Rhodri James
On Fri, 11 Apr 2014 21:20:05 +0100, wrote: On Thursday, April 10, 2014 3:40:22 PM UTC-7, Rhodri James wrote: It's called irony, and unfortunately Mark is reacting to an all-to-common situation that GoogleGroups foists on unsuspecting posters like yourself. People who say "I can't be bothe

Re: Teaching python to non-programmers

2014-04-11 Thread Steven D'Aprano
On Fri, 11 Apr 2014 11:19:22 -0700, Rustom Mody wrote: > On Friday, April 11, 2014 5:04:28 PM UTC+5:30, Steven D'Aprano wrote: [...] > For the rest, Im not sure that you need my help in making a fool of > yourself... Anyway since you are requesting said help, here goes: Very strong words. >> On

Re: Teaching python to non-programmers

2014-04-11 Thread Rustom Mody
On Saturday, April 12, 2014 1:50:05 AM UTC+5:30, pete.b...@gmail.com wrote: > On Thursday, April 10, 2014 3:40:22 PM UTC-7, Rhodri James wrote: > > > It's called irony, and unfortunately Mark is reacting to an all-to-common > > situation that GoogleGroups foists on unsuspecting posters like your

Re: Teaching python to non-programmers

2014-04-11 Thread pete . bee . emm
On Thursday, April 10, 2014 3:40:22 PM UTC-7, Rhodri James wrote: > It's called irony, and unfortunately Mark is reacting to an all-to-common > situation that GoogleGroups foists on unsuspecting posters like yourself. People who say "I can't be bothered to correct this" while posting a wise a

Re: Teaching python to non-programmers

2014-04-11 Thread Rustom Mody
On Friday, April 11, 2014 5:04:28 PM UTC+5:30, Steven D'Aprano wrote: > I've been in plenty of mailing list forums where interleaved posting was > required, but there's only so many times you can tell people off for > being rude before you start coming across as rude yourself. > It's one of those

Re: Teaching python to non-programmers

2014-04-11 Thread Mark H Harris
On 4/10/14 10:54 AM, Lalitha Prasad K wrote: Dear List Recently I was requested to teach python to a group of students of GIS (Geographic Information Systems). Adults? ... what age ranges? Their knowledge of programming is zero. The objective is to enable them to write plug-ins for GIS s

Re: Teaching python to non-programmers

2014-04-11 Thread Mark H Harris
On 4/10/14 3:52 PM, pete.bee@gmail.com wrote: Do you get paid to be a jerk, or is it just for yuks? If the latter, you're not funny. Mark is the c.l.python resident margin police. Think of him as a welcome committee with an attitude. :) -- https://mail.python.org/mailman/listinfo/pyt

Re: Teaching python to non-programmers

2014-04-11 Thread Mark Lawrence
On 10/04/2014 21:52, pete.bee@gmail.com wrote: Just awesome, not only do we have double line spacing and single line paragraphs, we've also got top posting, oh boy am I a happy bunny :) I'll leave someone3 else to explain, I just can't be bothered. Do you get paid to be a jerk, or is

Re: Teaching python to non-programmers

2014-04-11 Thread Chris Angelico
On Fri, Apr 11, 2014 at 10:39 PM, Tim Chase wrote: > On 2014-04-11 11:34, Steven D'Aprano wrote: >> >> That's equivalent to being told "Don't ever delete any of your >> >> code, just comment it out". I don't care who's saying that, it's >> >> bad advice. >> > >> > The correct analogy: "Dont ever d

Re: Teaching python to non-programmers

2014-04-11 Thread Tim Chase
On 2014-04-11 11:34, Steven D'Aprano wrote: > >> That's equivalent to being told "Don't ever delete any of your > >> code, just comment it out". I don't care who's saying that, it's > >> bad advice. > > > > The correct analogy: "Dont ever delete content from the > > repository" > > No -- the

Re: Teaching python to non-programmers

2014-04-11 Thread Steven D'Aprano
On Fri, 11 Apr 2014 12:46:05 +0100, Paul Rudin wrote: > Steven D'Aprano writes: > >> On Thu, 10 Apr 2014 22:42:14 -0700, Rustom Mody wrote: >> >>> In middle-eastern society women are expected to dress heavier than in >>> the West. A few years ago a girl went to school in France with a scarf >>>

Re: Teaching python to non-programmers

2014-04-11 Thread alister
On Fri, 11 Apr 2014 21:01:46 +1000, Chris Angelico wrote: > On Fri, Apr 11, 2014 at 8:46 PM, alister > wrote: >> Right up to the point when someone forwards on an internal email chain >> to an external customer without bothering to prune out the bit where >> someone (usually an engineer like myse

Re: Teaching python to non-programmers

2014-04-11 Thread Paul Rudin
Steven D'Aprano writes: > On Thu, 10 Apr 2014 22:42:14 -0700, Rustom Mody wrote: > >> In middle-eastern society women are expected to dress heavier than in >> the West. A few years ago a girl went to school in France with a scarf >> and she was penalized. > > Citation please. I think this is bogu

Re: Teaching python to non-programmers

2014-04-11 Thread Steven D'Aprano
On Thu, 10 Apr 2014 22:54:23 -0700, Rustom Mody wrote: > What I am pointing out is that if one gets so besotted with irritation > as to lose coherence, its unlikely that any useful communication will > ensue. This, a million times. If all we do is be curmudgeons who complain about GG's poor post

Re: Teaching python to non-programmers

2014-04-11 Thread Steven D'Aprano
On Thu, 10 Apr 2014 22:42:14 -0700, Rustom Mody wrote: > In middle-eastern society women are expected to dress heavier than in > the West. A few years ago a girl went to school in France with a scarf > and she was penalized. Citation please. I think this is bogus, although given how obnoxious som

Re: Teaching python to non-programmers

2014-04-11 Thread Chris Angelico
On Fri, Apr 11, 2014 at 8:46 PM, alister wrote: > Right up to the point when someone forwards on an internal email chain to > an external customer without bothering to prune out the bit where someone > (usually an engineer like myself) has stated (bluntly) that what the > salesman is proposing wil

Re: Teaching python to non-programmers

2014-04-11 Thread alister
On Fri, 11 Apr 2014 06:34:46 +0100, Paul Rudin wrote: > > It's not necessarily a bad idea to retain context in corporate emails. > Messages tend to get forwarded to people other than the original > recipient(s), and the context can be very helpful. > Right up to the point when someone forwards on

Re: Teaching python to non-programmers

2014-04-11 Thread Chris Angelico
On Fri, Apr 11, 2014 at 8:07 PM, Steven D'Aprano wrote: > It is, in a way, the corporate equivalent of "RTFM", only enshrined as > normal practice rather than seen as a deliberate put-down of somebody who > hasn't done their homework. And because it's normal practice, even those > who know better

Re: Teaching python to non-programmers

2014-04-11 Thread Steven D'Aprano
On Thu, 10 Apr 2014 23:39:24 -0600, Ian Kelly wrote: > On Thu, Apr 10, 2014 at 11:11 PM, Chris Angelico > wrote: [...] >> Then you were told that by someone who does not understand email. >> That's equivalent to being told "Don't ever delete any of your code, >> just comment it out". I don't care

Re: Teaching python to non-programmers

2014-04-11 Thread Steven D'Aprano
On Thu, 10 Apr 2014 21:37:22 -0700, Rustom Mody wrote: > Right. Its true that when I was at a fairly large corporate, I was not > told: "Please always top post!" That's only because they are ignorant of the terminology of top- bottom- and interleaved posting. If they knew the term, they would sa

Re: Teaching python to non-programmers

2014-04-11 Thread Chris Angelico
On Fri, Apr 11, 2014 at 5:09 PM, Steven D'Aprano wrote: > On Fri, 11 Apr 2014 13:59:00 +1000, Chris Angelico wrote: > >> I have seen plenty of cultures where people are unaware of the value of >> interleaved/bottom posting, but so far, not one where anyone has >> actually required it. Not one. > >

Re: Teaching python to non-programmers

2014-04-11 Thread Steven D'Aprano
On Fri, 11 Apr 2014 13:59:00 +1000, Chris Angelico wrote: > I have seen plenty of cultures where people are unaware of the value of > interleaved/bottom posting, but so far, not one where anyone has > actually required it. Not one. I've been in plenty of mailing list forums where interleaved pos

Re: Teaching python to non-programmers

2014-04-10 Thread Chris Angelico
On Fri, Apr 11, 2014 at 3:54 PM, Rustom Mody wrote: > Just to make it clear: > 1. I have no objection to the python list culture. > As I said I tend to follow it in places where it is not the norm and get > chided for it > [For the record on other groups which are exclusively GG/gmail based

Re: Teaching python to non-programmers

2014-04-10 Thread Chris Angelico
On Fri, Apr 11, 2014 at 3:42 PM, Rustom Mody wrote: > People whose familiarity with religion is limited to the Judeo-Christian > tradition are inclined to the view (usually implicit) that > "being religious" == "belief in God" > However there are religions where belief in God is irreligious -- Jai

Re: Teaching python to non-programmers

2014-04-10 Thread Rustom Mody
On Friday, April 11, 2014 11:12:14 AM UTC+5:30, Rustom Mody wrote: > On Friday, April 11, 2014 10:41:26 AM UTC+5:30, Chris Angelico wrote: > > Also unhelpful is to suggest that norms should, simply *because* they > > are the prevailing practice, be maintained. Even if everyone else on > > python-li

Re: Teaching python to non-programmers

2014-04-10 Thread Chris Angelico
On Fri, Apr 11, 2014 at 3:39 PM, Ian Kelly wrote: > That depends on what the mail is being used for. For instance there's > a difference between mail-as-dialogue and mail-as-business-process. > In the former it is normal, even polite, to prune as the topic evolves > and past quotations become les

Re: Teaching python to non-programmers

2014-04-10 Thread Rustom Mody
On Friday, April 11, 2014 10:41:26 AM UTC+5:30, Chris Angelico wrote: > On Fri, Apr 11, 2014 at 2:37 PM, Rustom Mody wrote: > > Right. Its true that when I was at a fairly large corporate, I was not told: > > "Please always top post!" > > > > What I was very gently and super politely told was: > >

Re: Teaching python to non-programmers

2014-04-10 Thread Chris Angelico
On Fri, Apr 11, 2014 at 3:34 PM, Paul Rudin wrote: > Chris Angelico writes: > >> On Fri, Apr 11, 2014 at 2:37 PM, Rustom Mody wrote: >>> What I was very gently and super politely told was: >>> "Please dont delete mail context" >> >> Then you were told that by someone who does not understand emai

Re: Teaching python to non-programmers

2014-04-10 Thread Ian Kelly
On Thu, Apr 10, 2014 at 11:11 PM, Chris Angelico wrote: > On Fri, Apr 11, 2014 at 2:37 PM, Rustom Mody wrote: >> Right. Its true that when I was at a fairly large corporate, I was not told: >> "Please always top post!" >> >> What I was very gently and super politely told was: >> "Please dont dele

Re: Teaching python to non-programmers

2014-04-10 Thread Paul Rudin
Chris Angelico writes: > On Fri, Apr 11, 2014 at 2:37 PM, Rustom Mody wrote: >> Right. Its true that when I was at a fairly large corporate, I was not told: >> "Please always top post!" >> >> What I was very gently and super politely told was: >> "Please dont delete mail context" > > Then you we

Re: Teaching python to non-programmers

2014-04-10 Thread Chris Angelico
On Fri, Apr 11, 2014 at 2:37 PM, Rustom Mody wrote: > Right. Its true that when I was at a fairly large corporate, I was not told: > "Please always top post!" > > What I was very gently and super politely told was: > "Please dont delete mail context" Then you were told that by someone who does no

Re: Teaching python to non-programmers

2014-04-10 Thread Rustom Mody
On Friday, April 11, 2014 9:29:00 AM UTC+5:30, Chris Angelico wrote: > On Fri, Apr 11, 2014 at 1:17 PM, Rustom Mody wrote: > > > There are cultures -- far more pervasive than USENET in 2014 -- where > > top posting is the norm, eg > > > - Gmail makes top posting the norm. Compare the figures of g

Re: Teaching python to non-programmers

2014-04-10 Thread Chris Angelico
On Fri, Apr 11, 2014 at 1:17 PM, Rustom Mody wrote: > There are cultures -- far more pervasive than USENET in 2014 -- where > top posting is the norm, eg > - Gmail makes top posting the norm. Compare the figures of gmail and Usenet > users > - Corporate cultures more or less require top posting -

Re: Teaching python to non-programmers

2014-04-10 Thread Rustom Mody
On Friday, April 11, 2014 4:10:22 AM UTC+5:30, Rhodri James wrote: > Sorry your post was the straw to break the camel's back this week, but it > is a complete pain to the rest of us. I have more than once considered > getting my reader to automatically discard anything with > "@googlegroups.

Re: Teaching python to non-programmers

2014-04-10 Thread Rhodri James
On Thu, 10 Apr 2014 21:52:53 +0100, wrote: Just awesome, not only do we have double line spacing and single line paragraphs, we've also got top posting, oh boy am I a happy bunny :) I'll leave someone3 else to explain, I just can't be bothered. Do you get paid to be a jerk, or is it ju

Re: Teaching python to non-programmers

2014-04-10 Thread pete . bee . emm
> > Just awesome, not only do we have double line spacing and single line > > paragraphs, we've also got top posting, oh boy am I a happy bunny :) > > I'll leave someone3 else to explain, I just can't be bothered. > > Do you get paid to be a jerk, or is it just for yuks? If the latter, yo

Re: Teaching python to non-programmers

2014-04-10 Thread Mark Lawrence
On 10/04/2014 18:53, pete.bee@gmail.com wrote: Don't underestimate the value of morale. Python is a scripting language. You don't need to teach them very much python to get something working, and you can always revisit the initial code and refactor it for better coding hygiene. Someday the

Re: Teaching python to non-programmers

2014-04-10 Thread Rustom Mody
On Thursday, April 10, 2014 9:24:48 PM UTC+5:30, Lalitha Prasad K wrote: > Dear List > > Recently I was requested to teach python to a group of students of GIS > (Geographic Information Systems). Their knowledge of programming is zero. The > objective is to enable them to write plug-ins for GIS

Re: Teaching python to non-programmers

2014-04-10 Thread pete . bee . emm
Don't underestimate the value of morale. Python is a scripting language. You don't need to teach them very much python to get something working, and you can always revisit the initial code and refactor it for better coding hygiene. Someday they might have jobs, and be required to learn things i

Re: Teaching Python

2011-04-22 Thread Westley Martínez
On Fri, Apr 22, 2011 at 01:04:55AM -0500, harrismh777 wrote: > Westley Martínez wrote: > >But really, hack > >> >has always been a negative term. It's original definition is chopping, > >> >breaking down, kind of like chopping down the security on someone elses > >> >computer. Now I don't know wh

Re: Teaching Python

2011-04-21 Thread harrismh777
Westley Martínez wrote: But really, hack >has always been a negative term. It's original definition is chopping, >breaking down, kind of like chopping down the security on someone elses >computer. Now I don't know where the term originally came from, but the >definition the media uses is q

Re: Teaching Python

2011-04-21 Thread harrismh777
MRAB wrote: A computer hacker doesn't write the requirements of the software or draw Jackson Structured Programming diagrams, etc, but just thinks about what's needed and starts writing the code. Very close... ... hackers don't necessarily care what something was designed to do, only what ca

Re: Teaching Python

2011-04-21 Thread harrismh777
MRAB wrote: That's a cowboy coder. A cowboy coder is someone who's bad at coding, a hacker is someone who's good at it. A hacker is someone who loves to code and doesn't really care whether anyone else thinks they're really at it or not... although, yes, they generally are *very* good at it

Re: Teaching Python

2011-04-21 Thread Westley Martínez
On Fri, Apr 22, 2011 at 01:25:00AM +0100, MRAB wrote: > On 21/04/2011 23:36, Westley Martínez wrote: > >On Thu, Apr 21, 2011 at 05:11:32PM +0100, MRAB wrote: > >>On 21/04/2011 14:58, Westley Martínez wrote: > >>>On Thu, Apr 21, 2011 at 06:02:08AM +0200, Stefan Behnel wrote: > Ben Finney, 20.04.

Re: Teaching Python

2011-04-21 Thread MRAB
On 21/04/2011 23:36, Westley Martínez wrote: On Thu, Apr 21, 2011 at 05:11:32PM +0100, MRAB wrote: On 21/04/2011 14:58, Westley Martínez wrote: On Thu, Apr 21, 2011 at 06:02:08AM +0200, Stefan Behnel wrote: Ben Finney, 20.04.2011 02:06: Dan Stromberg writes: On Tue, Apr 19, 2011 at 4:03 PM,

Re: Teaching Python

2011-04-21 Thread Westley Martínez
On Thu, Apr 21, 2011 at 05:11:32PM +0100, MRAB wrote: > On 21/04/2011 14:58, Westley Martínez wrote: > >On Thu, Apr 21, 2011 at 06:02:08AM +0200, Stefan Behnel wrote: > >>Ben Finney, 20.04.2011 02:06: > >>>Dan Stromberg writes: > >>> > On Tue, Apr 19, 2011 at 4:03 PM, geremy condra wrote: > >>>

Re: Teaching Python

2011-04-21 Thread MRAB
On 21/04/2011 14:58, Westley Martínez wrote: On Thu, Apr 21, 2011 at 06:02:08AM +0200, Stefan Behnel wrote: Ben Finney, 20.04.2011 02:06: Dan Stromberg writes: On Tue, Apr 19, 2011 at 4:03 PM, geremy condra wrote: When you say 'hacking', you mean ? Presumably he meant the real meaning

Re: Teaching Python

2011-04-21 Thread Westley Martínez
On Thu, Apr 21, 2011 at 06:02:08AM +0200, Stefan Behnel wrote: > Ben Finney, 20.04.2011 02:06: > >Dan Stromberg writes: > > > >>On Tue, Apr 19, 2011 at 4:03 PM, geremy condra wrote: > >>>When you say 'hacking', you mean ? > >> > >>Presumably he meant the real meaning of the word, not what the p

Re: Teaching Python

2011-04-20 Thread Stefan Behnel
Ben Finney, 20.04.2011 02:06: Dan Stromberg writes: On Tue, Apr 19, 2011 at 4:03 PM, geremy condra wrote: When you say 'hacking', you mean ? Presumably he meant the real meaning of the word, not what the press made up and ran with. To be fair, the press already had its own pejorative m

Re: Teaching Python

2011-04-20 Thread harrismh777
Chris Angelico wrote: Hacking?? 1) Tinkering, programming, building furniture with an axe. 2) Breaking and entering in the electronic world. Not so much. In the comp.lang.python community hacking is most easily identified with the many one-liners that show up... that is the underlying spiri

Re: Teaching Python

2011-04-20 Thread Yico Gaga
well... they are freshmen wanna know how to learn programming , actually ,python will be such a great programming language funded their hobbies ,you are looking for material and some website ,yeah ,why not give this problem to your students ,ask the freshmen to prepare for some material and webs

Re: Teaching Python

2011-04-20 Thread Chris Angelico
On Wed, Apr 20, 2011 at 8:17 PM, Steven D'Aprano wrote: > It's hardly just the press. "Hack" is a fine old English word: > "Can you teach me how to hack?" "Sure. Go to the tobacconists and buy him out, then smoke the lot. You'll be hacking like a pro in no time!" Chris Angelico -- http://mail.

Re: Teaching Python

2011-04-20 Thread Terry Reedy
On 4/20/2011 6:17 AM, Steven D'Aprano wrote: It's hardly just the press. "Hack" is a fine old English word: "The jungle explorer hacked at the undergrowth with his machete." "I was so hungry, I didn't take the time to neatly slice up the meat, but just hacked off a chunk and stuffed it in my m

Re: Teaching Python

2011-04-20 Thread Steven D'Aprano
On Wed, 20 Apr 2011 10:06:27 +1000, Ben Finney wrote: > Dan Stromberg writes: > >> On Tue, Apr 19, 2011 at 4:03 PM, geremy condra >> wrote: >> > When you say 'hacking', you mean ? >> >> Presumably he meant the real meaning of the word, not what the press >> made up and ran with. > > To be

Re: Teaching Python

2011-04-19 Thread harrismh777
Passiday wrote: I think Python is a very important language to learn - both easy and advanced, with very wide support in different platforms, with loads of great applications that can be scripted by it, and great community support. Yes. In my opinion, Python is the new BASIC. I date back to

Re: Teaching Python

2011-04-19 Thread Passiday
Of course, I meant the "tinkering, playing with, etc." meaning. That would be quite strange to look for an advice "how to break the Pentagon's systems" in public forum :) And while I plan to tell them about the "practical programming" (ie, typical tasks what they would be doing when hired), I t

Re: Teaching Python

2011-04-19 Thread harrismh777
Passiday wrote: I am planning to teach Python to a group of high school students, who have in-depth interest in programming, hacking etc. I am looking for some good material, what I could use as a basic guide when preparing the classes plan for the course - website or book, what would roll ou

Re: Teaching Python

2011-04-19 Thread Chris Angelico
On Wed, Apr 20, 2011 at 1:48 PM, Sourav wrote: > Hacking?? 1) Tinkering, programming, building furniture with an axe. 2) Breaking and entering in the electronic world. I assume the OP meant #1, although when I talk about "hacking" in this sort of sense, I'm thinking more in terms of tinkering w

Re: Teaching Python

2011-04-19 Thread Sourav
Lot of tutorials on net. Specially Python's own site. Dive into Python seems a good start -- http://mail.python.org/mailman/listinfo/python-list

Re: Teaching Python

2011-04-19 Thread Sourav
Hacking?? -- http://mail.python.org/mailman/listinfo/python-list

Re: Teaching Python

2011-04-19 Thread Alec Taylor
Here are a few tutorials which may be helpful for notes &etc: Author,Series,Lectures,Slides/Documentation,Assignments,Difficulty MIT,A Gentle Introduction to Programming Using Python,on iTunes Uÿhttp://itunes.apple.com/us/itunes-u/introduction-to-computer-science/id341597455,http://stuff.mit.edu/i

Re: Teaching Python

2011-04-19 Thread Alec Taylor
Author Series Lectures Slides/Documentation Assignments Difficulty MIT A Gentle Introduction to Programming Using Python on iTunes U http://itunes.apple.com/us/itunes-u/introduction-to-computer-science/id341597455 http://stuff.mit.edu/iap/python/ http://ocw.mit.edu/courses/electrical-engi

Re: Teaching Python

2011-04-19 Thread John Bokma
Passiday writes: > Hello, > > I am planning to teach Python to a group of high school students, who > have in-depth interest in programming, hacking etc. > > I am looking for some good material, what I could use as a basic guide > when preparing the classes plan for the course - website or book,

  1   2   >