Differences between revisions 4 and 5
Revision 4 as of 2006-10-07 13:12:18
Size: 4184
Editor: JoshJuneau
Comment:
Revision 5 as of 2006-10-07 13:18:47
Size: 4284
Editor: JoshJuneau
Comment:
Deletions are marked like this. Additions are marked like this.
Line 54: Line 54:
-----------------------------------------------------------------
Line 64: Line 63:
----------------------------------------------
Line 81: Line 79:
[http://tomcopeland.blogs.com/juniordeveloper/2006/09/jythonpydev_jav.html] [http://tomcopeland.blogs.com/juniordeveloper/2006/09/jythonpydev_jav.html Jython/Pydev JavaCC grammar notes]
Line 83: Line 81:
[http://blogs.sun.com/sundararajan/entry/java_javascript_and_jython] [http://blogs.sun.com/sundararajan/entry/java_javascript_and_jython Java, JavaScript, and Jython Part I]
Line 85: Line 83:
[http://blogs.sun.com/sundararajan/entry/java_javascript_and_jython_part] [http://blogs.sun.com/sundararajan/entry/java_javascript_and_jython_part Java, JavaScript, and Jython Part II]
Line 87: Line 85:
[http://jroller.com/page/berlinbrown?entry=simplest_jython_based_servlet_web] [http://jroller.com/page/berlinbrown?entry=simplest_jython_based_servlet_web Simplest Jython based Servlet Web Application ]
Line 94: Line 92:
JExpress Forum - http://molmineus.com/forum/index.php?PHPSESSID=7093e1d1e3449b4417b726ea3cbf0132&board=4.0 JExpress Forum (Jython scripting challenge: Automatic gene group multi-fss) - http://molmineus.com/forum/index.php?PHPSESSID=7093e1d1e3449b4417b726ea3cbf0132&board=4.0

Jython Monthly

http://www.jython.org/css/jython.png

October 2006 -- Issue #4

In Progress

Welcome to the October 2006 issue of Jython Monthly. The content of this newsletter will focus on using and developing the Jython languge. I want to encourage the readers of Jython Monthly to send any articles, tips, tricks, or any other Jython related material to me if you think it should be distributed with this newsletter.

Special thanks to those who submitted material for this month's newsletter!

- Josh Juneau

Questions, comments, or suggestions?

Please send email to:

jython-monthly@mchsi.com or jython-users@lists.sourceforge.net for discussion.

Articles

Off The Lists

From Craig W:

  • I am trying to read in some large files using Jython. I have no problems with something under 12mb....but over 12mb, I get OutOfMemoryError: java heap space any suggestions on how to read in large files into Jython?

    • I tried: data = open('blah.zip', 'rb').read() (where blah.zip is a 13.3MB file).

Response by Kent Johnson:

Did you try giving more heap space to Jython? In the batch file or whatever you use to launch your program, add the Java switch -Xmx512M, that will set the max heap to 512 MB.

Interested in Developing Jython?

If you are interested in developing Jython, please take a look at the [http://sourceforge.net/tracker/?func=browse&group_id=12867&atid=112867 current bug listing] and submit patches for items which you can repair.

IDE Information

[http://java-source-code.com/?q=node/111 JyConsole]

Pydev and Pydev Extensions 1.2.4 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev Details on Pydev: http://pydev.sf.net Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:

* Code analysis: analysis on imported modules do no longer give you errors on

  • classes that have getattribute or getattr overriden

  • assigns that are initially None
  • assigns to a function call and not a class definition

* Completions for parameters in a context-insensitive way, looking for all the methods/attributes declared in classes available to the project (after 3 chars)

Release Highlights in Pydev:

* Completions for parameters based on the tokens that were defined for it in a given context * Removed the default PyLint options, because its command-line interface changed (that was crashing PyLint in newer versions) * Changed the grammar so that 'yield' is correctly parsed as an expression * Giving better error message when external file is opened without any interpreter selected * Icons for the builtins gotten on large libraries (such as wx -- it was optimized not to do that before) * Adding jars relative to the project now works correctly

Who's Using Jython?

[http://hermesjms.com/python.html JMS Support]

Jython Blogs

[http://www.codemonkeyramblings.com/2006/10/misc.php Code Monkey Ramblings - Jython Advocate]

[http://tomcopeland.blogs.com/juniordeveloper/2006/09/jythonpydev_jav.html Jython/Pydev JavaCC grammar notes]

[http://blogs.sun.com/sundararajan/entry/java_javascript_and_jython Java, JavaScript, and Jython Part I]

[http://blogs.sun.com/sundararajan/entry/java_javascript_and_jython_part Java, JavaScript, and Jython Part II]

[http://jroller.com/page/berlinbrown?entry=simplest_jython_based_servlet_web Simplest Jython based Servlet Web Application ]

Interesting Facts

Jython - Average Job Salary & Stats in UK http://www.itjobswatch.co.uk/jobs/uk/jython.do

JExpress Forum (Jython scripting challenge: Automatic gene group multi-fss) - http://molmineus.com/forum/index.php?PHPSESSID=7093e1d1e3449b4417b726ea3cbf0132&board=4.0

Useful Links

Links

[http://www.jython.org Jython Home]

[http://www.python.org Python Home]

[http://en.wikipedia.org/wiki/Jython Jython WikiPedia]

[http://freshmeat.net/projects/jython/ Freshmeat.net]

[http://www.pythonware.com/daily/ Python Daily News]

JythonMonthly/Newsletters/October2006 (last edited 2008-11-15 09:16:03 by localhost)