er any method invocation a "function call", I consider the constructor
invocation to be a function call.
I concede your technical point, but I stand by my (and other authors') decision
on how to treat this.
Cheers,
--John
John Zelle, PhD
Professor of Computer Science
Wartburg College
We've had good luck in the past using pypar (http://code.google.com/p/pypar/)
in a college scientific computing class for students who have had a single
programming course in Python. At that time (2 years ago), it seemed to be the
simplest entry point for Python-based MPI type programs.
t use that as an excuse to make
single-threaded code hard to reason about as well.
--John
John Zelle, PhD
Professor of Computer Science
Wartburg College
From: da...@handysoftware.com [da...@handysoftware.com]
Sent: Sunday, April 22, 2012 5:06 PM
To: John
ng to
accomplish. Together not C and INV should be sufficient to convince yourself
(and others reading your code) that your loop has accomplished exactly what you
wanted it to.
--John
John Zelle, PhD
Professor of Computer Science
Wartburg College
From: edu-sig-bo
Oops, I think I have an off by one error in my last example. I would change the
conditional at the bottom to:
if guess == secret:
print("You guessed it!")
else:
print("You maxed out.")
That's clearer anyway.
John Zelle, PhD
Professor of Computer
that because it does
not announce what is required in order for the loop to be done.
Of course the cost of this style is the repeated input statement, but a priming
read is a standard part of a sentinel loop, and both examples are shorter than
the versions that retest or assign a conditional insi
o
remove things (for backward compatibility), and I consider the API now to be at
the limit of what I can expect my CS1 students to reasonably master.
John Zelle, PhD
Professor of Computer Science
Wartburg College
From: anharring...@gmail.com [anharring...@
.
Cheers,
--John
John Zelle, PhD
Professor of Computer Science
Wartburg College
From: edu-sig-bounces+john.zelle=wartburg@python.org
[edu-sig-bounces+john.zelle=wartburg@python.org] on behalf of Andrew
Harrington [ahar...@luc.edu]
Sent: Wednesday, December
Hi,
I agree that the behavior of booleans in Python can sometimes lead to subtle
errors, but I think it's important to stress to students that writing things
like:
if x>y == True:
is _really_ bad style. After pointing that out, I start taking points away for
doing this. Code like this shows t
Hello,
Isn't the issue here simply that globals does not return a copy of the globals
dictionary, it returns THE actual globals dictionary. It's not some sort of
callable, it is the globals dictionary, period. There is no such thing as a
static dictionary, they are mutable, and this one changes
Hi,
On Sunday 19 April 2009 18:44:30 michel paul wrote:
> On Sun, Apr 19, 2009 at 2:48 PM, Gregor Lingl wrote:
> > >How do you explain the nature of range to beginners?
>
> How about using list(range())? Something like:
> >>> # Here's how you can create a list of integers:
> >>> list(range(10))
Hi Kirby,
I happen to be working through some Python3.0 issues right now. A couple
comments:
On Monday 16 March 2009 10:42:24 kirby urner wrote:
>
> So then it occurs to me, would there by a way to do a kind of special
> names overloading such that __next__ (that which triggers the next
> cyclin
Barry Schwartz's book, The Cost of Living: How Market Freedom Erodes the
Best Things in Life, has a chapter titled "The Debasing of Education:
Turning Play into Work" that summarizes various evidence and makes a
similar argument along these lines.
On Sat, 2008-07-26 at 10:11 -0500, Daniel Ajoy wr
Hi David,
I gave a detailed description of my definitions in a post a while back.
In that, I referred to the traditional view of a variable as a named
location. As per your request:
In call-by-value the formal parameter is a local variable whose content
is initialized with a copy of the value of
Hi Warren,
Some interesting thoughts. You have given me something of a new insight.
(So call this a post on a related topic :-)
On Tue, 2008-05-20 at 18:35 -0700, Warren Sande wrote:
> I would argue that from a "functional" point of view (black box, the
> way it behaves), Python does behave like
they are wrong. I think that is the only way this discussion can move
> forward.
>
> I wrote a detailed response to your last post, but decided to delete most of
> it. I'll just leave a few parts where I need to correct a serious
> misunderstanding of what I am saying.
&
Hi All,
OK, really, this is my last post (on this topic).
On Tue, 2008-05-20 at 08:59 -0700, Warren Sande wrote:
> Agreed.
>
> Python "behaves like" call-by-value for immutable types and "behaves
> like" call-by-reference for mutable types. Newbies care about how a
> thing behaves, not what
Hi John,
I can't agree with this.
On Tue, 2008-05-20 at 10:50 -0400, John Posner wrote:
> > ... and stop trying to invent new names for a parameter passing mechanism
> > that is identical in function to traditional call by value.
> >
>
> Yeah, but ... it will be difficult to stick to a call-by-
l have to infer what is going
> >on by doing some tests. Again, the model and terminology for our discussion
> >is:
> >
> > variable:(name, pointer) --> object:(type, value, address)
> >
> >Here is a simple program that calls a function with one parameter
At some point, I have to just let this go, as I think we all on this
list have a pretty good understanding of the differences between C and
Python in terms of assignment and parameter passing. But let's _not_ use
the term "pass by reference" when talking about Python. You CANNOT
CHANGE THE CONTENTS
David,
Actually, I don't think there is that much confusion among the folks who
understand/design/study programming languages. Python uses call by
value, period, as that term is technically used. But your note below
shows the continued confusion (among programmers) about what parameter
passing ter
Hello all,
This is all good explanation, but could use a bit of tweaking. Where the
pointer analogy with C breaks down is that C pointers require explicit
dereferencing. In this regard, the Python model is actually closer to C
++ reference variables, which are automatically dereferenced. Of course
This is a very interesting assignment, but I would just point out that this is
hardly an "intro CS course." They are doing these particular projects in an
intermediate/advanced data structures/algorithms class. That would be a 3rd
semester college-level course for those who entered without a pro
AIL PROTECTED]>
To: John Zelle <[EMAIL PROTECTED]>
I remember installing a patch when I couldn't get IDLE to restart on my
Windows computer. Here's a discussion of said patch:
http://mail.python.org/pipermail/patches/2006-July/020360.html
- Original Message
From: John Z
l, at least my ubuntu menu launches IDLE in "normal" mode now. :-)
Yeah, now you run into the problem that you can only have 1 IDLE process
running at a time. I don't understand why IDLE uses a fixed port.
--John
>
> - Original Message
> From: John Zelle <[EM
On Thursday 16 August 2007 8:01 am, Andy Judkis wrote:
> > When teaching Python to beginners and using IDLE, it seems that one of
> > the dangers would be to have them assigning variables in the interactive
> > mode and then maybe using them in a script they're writing. Then, when
> > they run
>
On Wednesday 15 August 2007 9:04 am, Richard Guenther wrote:
> Sorry if this is a bit simplistic:
>
> When teaching Python to beginners and using IDLE, it seems that one of the
> dangers would be to have them assigning variables in the interactive mode
> and then maybe using them in a script they
On Monday 13 August 2007 11:30 pm, kirby urner wrote:
> On 8/13/07, John Zelle <[EMAIL PROTECTED]> wrote:
> > I would quibble about self not doing any work (you need it to access its
> > attributes), but I understand the point you are making. Again, though
> > this m
On Monday 13 August 2007 3:43 pm, kirby urner wrote:
> Python is remarkably liberal in its design, in that 'self' is not a
> keyword. You're free to use other names for this important
> place in memory.
>
> Yet there's still self-imposed discipline (another way of saying
> 'self discipline'), such
I agree with Kirby that madlibs are a fun example.
On Friday 06 July 2007 2:12 pm, kirby urner wrote:
> As I mention in my slides for EuroPython (looking forward to
> meeting Laura again tomorrow), Madlibs proved appealing
> to most students, little stories where they have to prompt
> themse
Hi All,
I am very interested in responses to Andy's question because it was just this
sort of frustration with students' inability to write simple programs that
led me to using Python (as opposed to C++ or Java) in CS1. After my switch to
Python and "back to basics" CS1 back in 1999, my results
Thank you to Andre, Guido, and all those who pushed for this! Your efforts are
appreciated!
--John
On Monday 26 February 2007 6:30 pm, Guido van Rossum wrote:
> We implemented this at today's sprint. Andre wrote the transformations
> for the 2to3 tools, I copied the raw_input() implementation f
Kirby (and others),
I've had a number of questions lately about the slowness of my graphics
library. I've noticed that some programs run well under Linux (my development
platform) but run very sluggishly under Windows. Was your testing on
Windows? Just curious. If you do get a chance to try yo
on below DOES work, and I'll use that
> as a workaround.
>
> A clue, then: it's not the transitive importing that causes the
> problem, it's the importing of a file that calls GraphWin().
>
> Peter Drake
> Assistant Professor of Computer Science
> Lewis & Clark C
Peter,
I should have caught this when you posted your file. There is a bizarre import
interaction that I am aware of, but can't say that I fully understand
regarding my graphics library. It seems that Python imports are in some-way,
somewhat atomic, and with the way my graphics library is set u
On Wednesday 07 February 2007 10:54 am, Peter Drake wrote:
> Your philosophy may differ, but I'd like to see control structures
> explained sooner. You currently don't introduce if for 200 pages. I
> find that it's hard to come up with interesting assignments without
> if. (My idea of "interesting
On Wednesday 07 February 2007 8:32 am, Vern Ceder wrote:
> Brian Blais wrote:
> > Peter Drake wrote:
> >> Is anyone else using Python procedurally in an intro course, or is what
> >> I'm doing here perverse?
>
> ...
>
> > this one, *for the audience you are dealing with*. I've taught
> > programm
third.
Yes, it would be very easy to wrap flat functions around my graphics library
if you restrict yourself to one graphics window.
--John
>
> Peter Drake
> Assistant Professor of Computer Science
> Lewis & Clark College
> http://www.lclark.edu/~drake/
>
> On Feb 6, 2007
Hi Peter,
Just a quick question for you. I am wondering if you have checked out the
simple graphics package that I built on top of Tkinter for doing these sorts
of simple manipulations. It's also name graphics.py. If you haven't seen it,
you can check it out at: http://mcsp.wartburg.edu/zelle/p
On Thursday 28 December 2006 12:51 pm, Ian Bicking wrote:
> Paul D. Fernhout wrote:
> > Ian Bicking wrote:
...
> > If kids wants to get at the stories (or other knowledge) locked in books,
> > that motivates them to spend the fifty hours or so of hard work to get to
> > the point where they have t
On Friday 17 November 2006 8:07 am, Ernesto Costa wrote:
> Hi,
>
> Returning to the question of a "good" module about graphics. I'm
> using Zohn Zelle's book for my course. It has a interesting and
> simple to use graphics module. It would be nice if that module could
> be "merged" with xturtle i.e
On Monday 30 October 2006 10:49 am, Arthur wrote:
> [EMAIL PROTECTED] wrote:
> >I've not used .any or .all, but having just taught my CS1 students about
> > boolean operators, I was reminded that Python works as the following
> > example describes:
> >
> >x = a and b
> ># if both a and b are true,
Jason,
I've looked into Blender a number of times, and while I would like to learn
it, I have never had time for the learning curve. VPython is something my
students and I can use immediately to solve problems at hand. If my goal were
to become a 3D artist, then something like Blender would be
On Monday 09 October 2006 6:56 pm, Arthur Siegel wrote:
> On Mon, 2006-10-09 at 18:41 -0500, John Zelle wrote:
> > Just curious, is PyOpenGL easy to install for both Mac and Windows? I
> > know it's dead simple on most Linux distributions. I think it's pretty
> >
On Monday 09 October 2006 3:59 pm, Dethe Elza wrote:
> On 9-Oct-06, at 11:15 AM, Arthur Siegel wrote:
> >> My other hope for VPython would be to build it on a more capable 3D
> >> system, such as Ogre or Panda3D (Mike Fletcher keeps a large list of
> >> such systems: http://www.vrplumber.com/py3d.p
I am also very concerned about this situation, as I think VPython is a
wonderful tool (to which I've contributed). Unfortunately, I'm not really in
any position to help out, as I am already over-stretched with my current
commitments. I also fear that my C++ skills have somewhat atrophied, and th
On Saturday 16 September 2006 9:35 am, Arthur wrote:
> John Zelle wrote:
> >no, No, NO. I never said this. At least I didn't intend to. Please see the
> > top of the message where I ask (virtually beg) for clarification on what
> > you are saying. I thought you were sa
On Thursday 14 September 2006 9:57 am, Arthur wrote:
> John Zelle wrote:
> >I _think_ I'm all for this, but again I'm not sure I know exactly what you
> > are saying. If you are saying that students might get interested in
> > programming through exposure in math (o
On Wednesday 13 September 2006 10:22 am, Arthur wrote:
> John Zelle wrote:
> >I think it's obvious to everyone that a course that tackles "real world"
> >problems will be more interesting than one that doesn't. But that doesn't
> >mean simple scripts
A new twist on this thread: discussing the very nature of intro courses.
Should we read more code and program less, should our programs build to
something and not be a bunch of random scripts?
I think it's obvious to everyone that a course that tackles "real world"
problems will be more interes
On Saturday 09 September 2006 12:35 pm, you wrote:
> But mostly I'm advocating going to the other extreme: drop GUI as a
> topic and just code up a namespace, reach into the grab bag for
> functions, like f(x) or cos(x). We pretend kids don't have the
> background, but if they did *any* work wi
On Friday 08 September 2006 4:27 pm, kirby urner wrote:
> On 9/8/06, kirby urner <[EMAIL PROTECTED]> wrote:
> > You're not making a monkey out of your mom, by making her loop through
> > some little menu, oblivious of the language underneath, its logic and
> > design. You're "protecting you mother
On Friday 08 September 2006 1:33 pm, [EMAIL PROTECTED] wrote:
> From: "Radenski, Atanas"
>
> > You are obviously way more intelligent than the average student
> > whom we need to teach.
>
> Standardized testing seems to indicate me to be a good deal to the better
> spectrum of the bell curve.
>
> B
OK, I lied: one last post. I see no problem with posting a message to whatever
group seems most appropriate and including a pointer to the discussion on
this thread. That's not "dragging edu-sig into a political role" it's simply
avoiding rehashing what I think has been a fruitful discussion. Th
First up, I support the "petition"/ suggestion whatever you want to call it.
I'm somewhat disappointed that our discussion here seems to have gotten
derailed by Arthur's comments that it's all about ease of teaching. I think I
put forward a number or solid arguments about IO being core to progr
On Wednesday 06 September 2006 6:22 pm, Dethe Elza wrote:
> On 6-Sep-06, at 2:51 PM, John Zelle wrote:
> > I believe that a good language is one that provides a natural way
> > to express
> > algorithms as we think about them. Python is one of the very best I
> > have
&g
On Wednesday 06 September 2006 1:24 pm, Arthur wrote:
> John Zelle wrote:
> >I have no idea what you mean here. Speaking only for myself, I am simply
> >stating that a language that requires me to use an extended library to do
> >simple input is less useful as a teaching to
On Wednesday 06 September 2006 8:00 am, Arthur Siegel wrote:
> Being dispassionate on the issue itself - I have *never* used
> raw_input() and, as it happens, I am generally literate enough at this
> point so that the intentions of sys.stdin.readline is *clearer* to me
> than is raw_input() - I am
On Monday 04 September 2006 11:03 pm, Toby Donaldson wrote:
>
> I don't care about "input". Its there now and hasn't ever been useful
> to me (eval(raw_input("...")) is a fine alternative), and, more
> importantly, has apparently not caused confusion among students.
>
Again, for similar reasons t
On Monday 04 September 2006 8:56 pm, Dethe Elza wrote:
> On 4-Sep-06, at 5:45 PM, Andre Roberge wrote:
> > The following is something I have been pondering for quite a while now
> > and am wondering what other people on this list think.
> >
> > According to PEP 3100
> > (http://www.python.org/dev/p
I agree whole-heartedly with Andre on this (except that I also want to
preserve input, see below). I understand the rationale for eliminating
the "redundancy" of these statements, but of course the same argument holds
for the print statement. Why not do away with it and just use sys.stdout?
Th
Is this what you're looking for:
>>> d = dict(key1=52, key2=12)
>>> d
{'key2': 12, 'key1': 52}
Of course this only works for keys that are strings.
--John
On Tuesday 15 August 2006 1:28 am, kirby urner wrote:
> Someone (Dethe? Ian?) showed me syntax I'd never seen before around
> Python diction
On Thursday 10 August 2006 10:24 am, Paul D. Fernhout wrote:
> What about constructors like
>"Line origin: 10 @ 10 angle: 35 degrees distance: 10 mm"
> (which is easy to have in Smalltalk syntax) and so on? And I bet you can
> read what it means not even knowing Smalltalk. Would you rather rea
On Tuesday 01 August 2006 7:31 pm, kirby urner wrote:
> I'm excited about Crunchy Frog (or whatever Andre chooses to call it),
> because it signals a growing trend to switch away from dead tree text
> books, and move to dynamic content, i.e. the web.
>
I'm excited about Crunchy Frog too, but I rej
27;t tell you :-) In
the paper, this was done in a lazy functional language. I was mostly
interested to see how it would translate to a Python generator.
# pi.py -- imlementation of Gibbons' spigot algorithm for pi
# John Zelle 4-5-06
def pi_digits():
"""generator for digit
On Thursday 11 May 2006 16:19, you wrote:
<>
We're straying a bit from the original thread here, but I couldn't resist this
comment.
> Ergo my point: I don't look to mathematicians to tell me how to write
> math, but to computer scientists such as Kenneth Iverson. Although
> sure, I'll take s
On Thursday 11 May 2006 09:18, kirby urner wrote:
> > I don't believe in adding special notation specifically designed for
> > beginner's sake - even though I am dedicated in making Python as easy
> > to learn as possible.
> >
> > André
>
> Right
Agreed. But I personally feel that = for assignment
On Saturday 06 May 2006 11:40, Winston Wolff wrote:
> On May 6, 2006, at 11:25 AM, John Zelle wrote:
> > To me, it seems that a 2D/3D persistent scene-graph API paired
> > with a GUI
> > toolkit, both based on PyOpenGL is the obvious first step toward
> > this go
On Friday 05 May 2006 17:54, Dethe Elza wrote:
> Would a VPython implemented on top of PyOpenGL be useful? Right now
> VPython lives in its own world and doesn't play nice with native
> windows, or PyGame, or OpenGL, or X3D, or OS X, or... The argument
> for making writing it the way they have i
This has been an interesting thread. I haven't had time to contribute, but I
saw something here that I felt I had to address.
On Sunday 30 April 2006 14:47, kirby urner wrote:
> On 4/30/06, Michael Tobis <[EMAIL PROTECTED]> wrote:
> > Most kids, most humans in general, will voluntarily spend many
On Tuesday 28 March 2006 09:42, kirby urner wrote:
> So we have different levels of mutability. A complex type which
> doesn't allow resassignment of real and imaginary parts might look
> like:
>
> Immutable:
>
> c = Complex(1,2)
> c = c.real(3) # assigning a new value
> c = c.imag(4) # yet anoth
Since my name was invoked recently on this thread (albeit with a question
mark), let me try to summarize:
We all agree that mutability introduces interesting issues, particularly in
the face of true concurrency. Language designers are very interested in
languages with semantics that avoid or mi
On Saturday 18 March 2006 16:39, Michael Tobis wrote:
>
> So, is there a problem with wrapping them thus:
>
> ###
> class mcx(object):
>
> def __init__(self,val):
> self.val = complex(val)
>
> def __add__(self,other):
> """ and similarly for most other special methods """
> ret
I also like the simplicity of lightning, but it would need some enhancements
before I could imagine using it in class. For example, it doesn't seem to
auto-indent and requires typing the filename on a save. I'm sure it would not
be hard to tidy up those things. I'd also like to handle multiple o
Scott David Daniels wrote:
> Kirby Urner wrote:
>
>
>>Speculation on my part. On target?
>
>
> Sounds right, but I really haven't investigated beyond learning how to
> get back to the point where I can experiment with TkInter interactively.
> There is so much more learning possible with the
Kirby Urner wrote:
> I think there's a shortage of computer pros with strong presentation skills.
> Like, at Europython we got a 5 minute upbraiding by one of the few female
> geeks, complaining that we collectively mumbled too much, failed to project
> our enthusiasm for our topics. We must do m
Arthur wrote:
> A business trip had me passing through New Haven. As a lover of books, and
> therefore bookstores, I took the opportunity to stop to look for a bookstore
> near the Yale campus - figuring I would find a bookstore with significantly
> more depth than those to which I normally have
Carlos,
I doubt that you'll get much disagreement on this list about Python
being an excellent first language choice. Hence, there is unlikely to be
much of a "discussion." I wrote a paper titled "Python as a First
Language" back in 1998, you can find it at:
http://mcsp.wartburg.edu/zelle/pyt
Kirby,
Do you have a left and right stereo pair on that rendering? I just can't
make heads or tails of it w/o true 3D :-)
--John
Kirby Urner wrote:
>>I'll post again when I have more research behind me and either a solution
>>or concrete frustration in sight -- not before.
>>
>>Kirby
>
>
> OK
OK, I think I'm getting some insight here, but something still doesn't
quite ring true for me.
I said:
>>I hear researchers say this at conferences, and I read it in the
>>literature about gender balance in computer science, but I still don't
>>understand it. Can you explain why when selecting
As usual, I don't have time to comment on all the intriguing things that
have come out of this thread. But gender balance is something that I've
spent a lot of time thinking about and working on as regards our own
program. So I felt compelled to say something.
Laura Creighton wrote:
> Why femal
Guido must be a whiz at marketing. Look what happens when you google:
programming language :-)
--Z
Arthur wrote:
>
>>-Original Message-
>>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
>>Behalf Of Kirby Urner
>>Subject: Re: [Edu-sig] OT: googling "logo"
>>
>>
>>>I am sure good mar
> On Wed, Sep 21, 2005 at 09:31:41AM -0700, Kirby Urner wrote:
>
>Of course all of this requires temporarily ignoring the fact that algebraic
>methods give us a way to compute phi as simply (1 + math.sqrt(5))/2.0.
I've been considering this a bit. The closed form here begs the
question, what i
David Handy wrote:
> On Wed, Sep 21, 2005 at 09:31:41AM -0700, Kirby Urner wrote:
>
>>Mine original draft makes sense to set the stage, cuz the reasoning is so
>>dang primitive. Yours adds a layer of sophistication more reflective of how
>>real world programmers learn to squeeze the most out of
Arthur wrote:
>
> My only objection to it being there - in fact - is the lack of consensus as
> to the compelling reason it is necessary. There seems to be agreement, in
> fact, on only this one aspect of the reason for its presence as a built_in
> function. The fact that the reason is compel
Arthur,
It often seems to me that I agree with you, but you think that you don't
agree with me. This may be one of those cases.
Arthur wrote:
>
>>-Original Message-
> I'm confused I tell you ;)
>
> Scott David's Triangle did *not* use a property for area. I think that was
> quite purp
Hi All,
This has been an interesting and enlightening discussion. I have a bit
of knowledge of VPython internals, so I thought I'd jump in here.
Arthur wrote:
>
>>-Original Message-
>>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
>>Behalf Of Dethe Elza
>>As Guido has said, proper
Kirby,
Is there any chance I could talk you into posting some of your code
sooner, or at least an example of how the code to define a simple
presentation might look? I've just begun working on a very similar
project. I'm using PyQT (it's a learning project) rather than PyGame. I
agree with the
Hello all,
For those of you who use my graphics.py library for teaching, I wanted
to let you know that I've just released an update to version 3.2. This
version has two important improvements over the last release (3.0):
1. Significantly improved performance of communication with the Tk thread.
I know there've already been a couple responses on this. I've been
meaning to reply, but been preoccupied. But I found this post very
interesting, and am wondering if more discussion might be in order.
Bob Noonan wrote:
> Toby Donaldsoon writes:
>
>
>>I've been involved with teaching CS1/CS2 s
Kirby Urner wrote:
> Plus we're not always interested in "programming curricula" (for the sake of
> programming). If the goal is to get physics majors to ramp up in some
> VPython context, to where they can explore mechanics/kinetics interactively,
> within a day or two, who cares if they're no
Arthur wrote:
> John writes -
>
>
>>Of course implementing something like a queue which has state
>>(side-effects) is not pure functional programming, but real LISP
>>programmers don't worry too much about that.
>
>
> John sounds like a real LISP programmer (he's being hiding that from us
>
Toby Donaldson wrote:
> On 5/6/05 8:47 PM, "John Zelle" <[EMAIL PROTECTED]> wrote:
>
>>For the record, it's very easy in LISP to implement a Queue using a
>>cons-pair with car pointing to the front of a linked list and cdr
>>pointing to the back.
Toby Donaldson wrote:
>>>For instance, to write an efficient queue data structure (where adding
>>>and removing form the queue are always constant-time operations) in
>>>LISP/Scheme requires using arrays.
>>
>>Hi Toby,
>>
>>I don't think this is a valid criticism. If the point of using a queue i
Hello Chuck,
Welcome aboard. I'm a fan and user of the "Thinking in" series so I'm
pleased to meet you (virtually, that is).
As far as your question about how to convince others to give Python a
try, I think you already hit one of the nails on the head when you wrote
of the "crowded" CS1 curric
Arthur wrote:
Floris Bruynooghe has created a VPython Debian distribution and is in
process of attempting to have it accepted as "official" Debian package.
Not being familiar with the process I am having trouble following the
dialogue - "sponsorship" vs. "adoption", etc.
Obviously I would like to
Arthur wrote:
-Original Message-
From: John Zelle [mailto:[EMAIL PROTECTED]
Arthur wrote:
I agree that graphics programming is a great, concrete way, to teach
about objects. That is the point of my 2D graphics library. VPython is
also a great tool. The one caveat I would make here is
Arthur wrote:
-Original Message-
From: [EMAIL PROTECTED] [mailto:edu-sig-
[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
But there is no real point being made beyond that. If one chooses to
follow
the convention - something like VPython provides a quite convenient way
for
one to get one
Lloyd Hugh Allen wrote:
On Wed, 23 Mar 2005 14:02:15 +0200, Linda Grandell <[EMAIL PROTECTED]> wrote:
I wonder if letting the students pair up for themselves could work? That
would more or less be a variant of the second alternative above. Or does
this introduce the risk of weaker students pairin
Kirby,
Thanks for the update. I had tried to run this earlier and noticed the
missing dependency, but had not yet tracked down what was up. I've got
it running now (with a couple tweaks for Python 2.3).
This is a nifty application for demonstrating stereo visualization. Just
set scene2.stereo =
1 - 100 of 112 matches
Mail list logo