Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #25882 > unrolled thread

Re: A thread import problem

Started byDieter Maurer <dieter@handshake.de>
First post2012-07-23 16:48 +0200
Last post2012-07-23 16:48 +0200
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: A thread import problem Dieter Maurer <dieter@handshake.de> - 2012-07-23 16:48 +0200

#25882 — Re: A thread import problem

FromDieter Maurer <dieter@handshake.de>
Date2012-07-23 16:48 +0200
SubjectRe: A thread import problem
Message-ID<mailman.2477.1343054928.4697.python-list@python.org>
Bruce Sherwood <bruce.sherwood@gmail.com> writes:
> ...
> There's nothing wrong with the current VPython architecture, which
> does use good style, but there are two absolute, conflicting
> requirements that I have to meet.
>
> (1) The simple program API I've shown must be preserved, because there
> exist a large number of such programs in existence, used by lots of
> people. I can't change the API. Among other uses, every semester there
> are about 5000 students in introductory college science courses,
> especially physics, who do computational modeling with 3D
> visualizations based on instructional materials that teach the
> existing API. There is also a large number of instructors who depend
> on existing VPython demo programs to continue working even if the
> college upgrades Python and VPython. This isn't some little project
> where I'm able to teach my small group of collaborators how they
> should structure programs.

You might keep the "programs" (one of which you have shown)
but change the way how they are "called" (and change the internal
working of "visual").

In my "proposal", your "program" is not changed in any way -- but
it is not called directly but activated ("imported") from something
like a starting module.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web