HP3000-L Archives

December 2000, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Lars Appel <[log in to unmask]>
Reply To:
Lars Appel <[log in to unmask]>
Date:
Thu, 28 Dec 2000 21:06:47 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (37 lines)
Any Python experts with some spare time out there?

Just out of curiosity, I installed jPython 1.1 and the associated
Python 152e library from www.jPython.org on MPE/iX a few days ago.

However, given that I'm an absolute Python beginner, I was only able
to try a very small number of things (my very first steps with Python
based on the tutorial and a few peeks at the Library reference. Any
advice from the experts regarding examples that might be worth trying
to see if it works reasonably well? Or maybe some volunteer guru who
would want to install it on their own machine for trying it?

Lars (not really a lot of spare time at hand)


shell/iX> jpython
JPython 1.1 on java 1.2.2 (JIT: HP)
Copyright (C) 1997-1999 Corporation for National Research Initiatives
>>> import os
>>> os.name
'java'
>>> from java.lang import System
>>> System.getProperty("os.name")
'MPE/iX'
>>> System.getProperty("java.version")
'JDK 1.2.2'
>>> import string
>>> for k in range(3):
...   print string.upper("hello world")
...
HELLO WORLD
HELLO WORLD
HELLO WORLD
>>> :eod

shell/iX>

ATOM RSS1 RSS2