[Tutor] python 2.2

dman dsh8290@rit.edu
Tue, 19 Feb 2002 21:14:51 -0500


On Tue, Feb 19, 2002 at 07:20:16PM -0600, Cameron Stoner wrote:
| Hi to all,
| 
| Little bit of a problem.
| I have Python 2.2 and when I'm programming Python 2.2 freezes up my
| computer and it stops responding.  I also have Windows 98 2nd
| endition as the OS.

Here's part of the problem (win* isn't stable in the first place, I've
even crashed 2k many times)

| I know that it is Python because it only
| happens when I'm using Python.  I also have the Vpython addition.  I
| also don't think that Vpython is the problem. 

This is the other part of the problem.  Vpython uses quite a few CPU
cycles to keep track of everything you're doing to it and to draw
correctly.

I have Debian GNU/Linux (kernel 2.4.17) with python 2.2 and 2.1 with
vpython for both of them.  It works fine, but uses a significant
portion of my CPU (Duron 750).  I'm also using the VESA framebuffer as
the video driver, and it is not high-performance.

| I am thinking that I should go back to 2.0 or maybe 1.5, but I don't
| want to because Vpython doesn't work with 1.5 I think.  Would
| someone offer some kind of suggestion about this problem?

Seeing how you're working with windows, a reinstall may do the trick
for you.  Too bad '98 doesn't have any meter so you can see how hard
your CPU is cranking.

-D

-- 

Micros~1 :  
 For when quality, reliability 
  and security just aren't
   that important!