PythonWin crash - works only once after installation

2007-06-15 Thread Ze'ev
Hi,
  I've installed Python 2.5 and PythonWin (pywin32-210.win32-py2.5) on
my new XP machine. The first time I run PythonWin after installation
it runs normally but if I close it and try to run it again it crashes
("PyWin32 has encountered a problem and needs to close") every time.
If I re-install it then it will run once more but subsequent runs
fail.
I've installed and ran this before (on my old machine and at work) and
it runs ok.

Any clues?

Thanks,
Ze'ev

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


Re: PythonWin crash - works only once after installation

2007-06-17 Thread Ze'ev
On Jun 15, 2:19 pm, Ze'ev <[EMAIL PROTECTED]> wrote:
> Hi,
>   I've installed Python 2.5 and PythonWin (pywin32-210.win32-py2.5) on
> my new XP machine. The first time I run PythonWin after installation
> it runs normally but if I close it and try to run it again it crashes
> ("PyWin32 has encountered a problem and needs to close") every time.
> If I re-install it then it will run once more but subsequent runs
> fail.
> I've installed and ran this before (on my old machine and at work) and
> it runs ok.
>
> Any clues?
>
> Thanks,
> Ze'ev

I found a workaround but this is still a mystery - if I delete the.pyc
files in site-packages/pythonwin/pywin/ then I can run Pythonwin again
(otherwise it crashes upon starting up).

Ze'ev



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


Re: What is Jython?

2007-11-01 Thread Ze&#x27;ev
On Nov 1, 10:37 am, Ant <[EMAIL PROTECTED]> wrote:
> On Nov 1, 6:54 am, [EMAIL PROTECTED] wrote:
> ...
>
> > I would like to know more about Python and Jython?
> > What is the difference between both of them?
> > What is the future for Jython and which are the areas where it is
> > used?
>
> Jython is an implementation of Python for the Java VM. Currently it
> stands as equivalent to Python v2.2, but progress has been rapidly
> accelerating over the last year or so, and the next version will
> probably be targeted at 2.5 AFAIK.
>
> Jython also has access to all of the Java standard libraries (or any
> Java libraries on the classpath for that matter.)
>
> Jython is currently significantly slower than Python.
>
> >From my experience Jython is most typically used as an embedded
>
> extension/scripting language for Java applications in areas where
> rapid development/change is required. This includes such areas as
> scripting business logic, writing unit or functional tests etc. Take a
> look 
> athttp://antroy.blogspot.com/2007/04/swing-testing-with-jython-and-jemm...
> for an example of how I have successfully used Jython for Swing
> testing. More information can be found 
> onhttp://www.jython.org/Project/index.html
>
> Cheers,
>
> --
> Ant.

On Nov 1, 10:37 am, Ant <[EMAIL PROTECTED]> wrote:
...
> Jython is currently significantly slower than Python.
...
Not according to this : 
http://blogs.warwick.ac.uk/dwatkins/entry/benchmarking_parallel_python_1_2/

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