Re: Utah Python Users Group

2005-04-24 Thread Jim Hargrave
I'm a Computational Linguist just starting with Python. I personally 
would be very interested in a UT Python group.

Jim
lugal wrote:
Is anyone aware if there's a Utah-based Python User Group? If not, does
any else from Utah have any interest in forming a Utah-based Python
User Group?
--
http://mail.python.org/mailman/listinfo/python-list


Re: [JIM_SPAM] Microsoft supporting a .NET version of Python...

2005-04-08 Thread Jim Hargrave
oops - Sorry for the posting.  This wasn't meant for the newsgroup :-)
J

Steve Holden wrote:
Jim Hargrave wrote:
http://www.gotdotnet.com/workspaces/workspace.aspx?id=ad7acff7-ab1e-4bcb-99c0-57ac5a3a9742 


You really shoud try and get out more:
  http://www.pycon.org/dc2005/talks/keynote
regards
 Steve
--
http://mail.python.org/mailman/listinfo/python-list


[JIM_SPAM] Microsoft supporting a .NET version of Python...

2005-04-07 Thread Jim Hargrave
http://www.gotdotnet.com/workspaces/workspace.aspx?id=ad7acff7-ab1e-4bcb-99c0-57ac5a3a9742
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python plug-in Frameworks like Eclipse RCP...

2005-04-01 Thread Jim Hargrave
Hum, maybe my question was too specific. What I would really like to 
know is what is the best way to implement a Python application with a 
pluggable architecture. In particular, I would like to use wxPython and 
have plug ins automatically register themselves with the GUI by adding 
themselves to the mean or adding a tab. Again this is much like Eclipse 
RCP - but forget that part :-)

J

Jim Hargrave wrote:
Eclipse provides a very nice application framework which supports 
plug-ins. It's easy to dynamically add new functionality, menu items, 
property editors, options etc.. using a combination of XML and Java code.

Is there a similar framework for Python? If not any hints on how such a 
framework would be implemented?

I'm building a client side tool using Python/wxPython for our 
translators and would like to have a pluggable architecture similar to 
Eclipse RCP

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


Python plug-in Frameworks like Eclipse RCP...

2005-03-30 Thread Jim Hargrave
Eclipse provides a very nice application framework which supports 
plug-ins. It's easy to dynamically add new functionality, menu items, 
property editors, options etc.. using a combination of XML and Java code.

Is there a similar framework for Python? If not any hints on how such a 
framework would be implemented?

I'm building a client side tool using Python/wxPython for our 
translators and would like to have a pluggable architecture similar to 
Eclipse RCP

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


embedding jython in CPython...

2005-01-22 Thread Jim Hargrave
I've read that it is possible to compile jython to native code using 
GCJ. PyLucene uses this approach, they then use SWIG to create a Python 
wrapper around the natively compiled (java) Lucene. Has this been done 
before for with jython?

Another approach would be to use JPype to call the jython jar directly.
My goal is to be able to script Java code using Jython - but with the 
twist of using Cpython as a glue layer. This would allow mixing of Java 
and non-Java resources - but stil do it all in Python (Jython and Cpython).

I'd appreciate any pointers to this topic and pros/cons of the various 
methods.

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


Re: embedding jython in CPython...

2005-01-22 Thread Jim Hargrave
Sorry - should have given more detail.  That's what I get for posting at 
1:00AM.

What I want to do us write scripts in CPython that access Windows 
ActiveX such as Word and IE. Obviously Jython can't do this (easily at 
least). I also have Jython scripts that provide a high level layer on 
top of various Java libraries. I'd like to write as much code in Python 
as possible. But I have a mixture of incompatible CPython and Jython 
scripts - that's why I would like to embed Jython in CPython. If I can 
call my Jython scripts from CPython I can have the best of both world's!

Would I be able to embed Jython using JPype? The PyLucene approach 
(compile Java source with GCJ then wrap with SWIG) looks interesting - 
but complicated.

Here's an example of embedding Jython in a regular Java app:
http://www.jython.org/docs/embedding.html
Imagine doing the same in CPython, but with JPype or GCJ/SWIG.

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


Re: embedding jython in CPython...

2005-01-22 Thread Jim Hargrave
 I am curious to know what makes your Jython code incompatible with
 CPython. If it is only because it uses Java classes, it might
 not be too
 difficult to port them to CPython+Jpype.
CPython+Jpype may indeed be the way to go in the long run - it's only my 
ignorance stoping me at this point :-) I'll code some tests and give it 
a whirl. Thanks for the help!
--
http://mail.python.org/mailman/listinfo/python-list