Re: Looking for Benchmarklets to improve pyvm

2005-04-01 Thread coffeebug
Hi Stelios,
Newbie here ("new" to the language and scripting in general).
I'm trying to figure out what you mean by bytecode.  Do you mean
a virtual python environment that can be hosted by any anonymous
operating system?   For example, you want to run Python programs on
BEOS so you crank up its version of PYVM and load a Python source code
and run it?

Or do you mean you want Python that's been compiled down to something
like p-code on my machine, then you receive the p-code that you can
expect to run?

Is pyvm your own work?

Has anyone computed the digits of pi (3.14159265) in Python?
That might be a good application for string processing.
Jim in Indiana USA

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: numeric module

2005-04-01 Thread coffeebug
I don't know much here...but is there an assumption you're making about
the machine word size to be greather than 24 bits?
Also, more to the point, does the function zeros() instantiate a
two-dimensional table? If so, does it populate the table with any
values?  The error looks like tbl[ ][ ] doesn't get defined.
Thanks for patience!

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: numeric module

2005-04-01 Thread coffeebug
I cannot import "numarray" and I cannot import "numeric" using python
2.3.3

Where would I find an equivalent definition for zeros()?

Anyway, is there supposed to be something that sets the value of
elements of tbl to values other than zero? Not that the question has
anything to do with  Shama's problem (recognizing tbl as a
two-dimensional array).

-- 
http://mail.python.org/mailman/listinfo/python-list