Archive for the ‘Python’ Category

Quick Guide to Mercurial for svn Users

Posted on July, 9 at 9:31 am | Filed Under CM, Python

Ned Batchelder has put together a quick guide to mercurial basic commands for subversion folks who are part of the move from a centralized version control tool like subversion to mercurial, a distributed version control system.  You can read it here. Mercurial (and other dvcs tools like git and bzr) seems to be gathering steam [...]

Read More>

Jython 2.5 and a book!

Posted on July, 2 at 3:17 pm | Filed Under Jython, Python

Jython 2.5, the latest version, is out and available. Get it here: http://www.jython.org/.  This brings Jython to compatibility with CPython 2.5 so it can run more python than ever. Additionally, there is an open source Jython book in the works called The Definitive Guide to Jython.  The book is a collaboration of multiple people close [...]

Read More>

Mobile Jython – Jythonroid

Posted on January, 19 at 10:48 am | Filed Under Jython, Python

Jythonroid is a build of Jython now available for your Android based phone.  Cool!  I wonder if we will get android based phone up in the frozen north any time soon…

Read More>

Best Replacement Shell for CMD on Windows XP?

Posted on December, 12 at 12:31 pm | Filed Under Python, Web Tools

I’m looking for a replacement shell, preferably free, for Windows XP’s cmd.exe.  I have considered cygwin, but am really looking for something that is still windows-ish … Google turns up a few options that are for pay … Any recommendations out there?  If it could be extended with Python, that would be perfect …

Read More>

What Makes Managing Component Based Development Hard?

Posted on December, 8 at 5:39 am | Filed Under Jython, Python, Software

I’m looking for input on where the management problems are for building large scale applications with reusable components. Reusable software components are a pretty established development pattern and are used across the software development language landscape.  Lately, this area has experienced a boon of growth as component development became married with service oriented architecture and [...]

Read More>

What is software development? Lets be Poets!

Posted on December, 4 at 3:12 am | Filed Under Jython, Python

I’ve been saying for a while now that software engineering is a social activity … and now Mark Ramm picks up a similar bone and points out that software development is really building a product to be understood by both a computer and other human participants.  These days we are beginning to understand that the [...]

Read More>

Python Turns 3.0

Posted on December, 4 at 1:56 am | Filed Under Jython, Python

Python 3.0 final is out and available!  Hurray!  Hurry out and get it.

Read More>

Netbeans Python Edition

Posted on December, 2 at 2:45 pm | Filed Under Jython, Python, Web Tools

An early access edition of Netbeans with Python support is available here.  Current features in Netbeans for Python include: Folding Code Semantic Code Highlighting Renaming / refactoring Code Completion Smart Indent /Outdent Debugger Includes Jython 2.5 Beta 3, but can use any Python on your system. There is lots more to come, including support for [...]

Read More>

Web 2.0 Summit Videos

Posted on November, 22 at 1:11 am | Filed Under Python, Reading

Web 2.0 Summit Videos now on Youtube.

Read More>

Mondays are for Duarte

Posted on November, 17 at 12:36 pm | Filed Under Python, Reading

Well its cold and wintery this Monday.  So what better way to warm up the brain than by reviewing some great Duarte content.  Nancy recently appeared at the Apple Store in San Franscisco and let the word out of the apearance through twitter.  Sounds like the event was a success.  Here are some good Duarte [...]

Read More>

Flickr and the President Elect

Posted on November, 11 at 11:27 pm | Filed Under Python, Reading

How do you know things have changed?  When the American president elect posts a series of candid election night photos to Flickr.  Yes, things have changed indeed.

Read More>

Python – Swiss Army Knife Web Server

Posted on November, 5 at 4:26 pm | Filed Under Jython, Python

I use the  following instant python test webserver in so many places… its quick to setup and makes sharing files a snap.  I first saw a mention of it by Gary Robbins.  Here it is: python -c “import SimpleHTTPServer;SimpleHTTPServer.test()”

Read More>

The Goal Is Not The Path – Software Training Thoughts

Posted on November, 5 at 1:36 am | Filed Under Collaboration, Python

I’ve been reading an interesting book that I’ll post more details on later, but it has me rethinking how I teach adults. A big part of what pays my mortgage is teaching software engineers how to really use configuration management tools well.  Along the way we have to cover some pretty abstract ideas, and some [...]

Read More>

Jython 2.5 Beta 0 is Out

Posted on October, 31 at 9:47 pm | Filed Under Jython, Python

Happy Halloween!  Here is treat, Jython 2.5′s first beta is out.  This is great news as it shows the progress being made to jython 2.5 finished.  Great work guys.

Read More>

Can Open Source Projects be Selfless?

Posted on October, 23 at 10:11 pm | Filed Under CM, Python

I had an interesting open source related discussion today.  Could an open source project start up and sustain itself if the primary users of the software are not software developers and not able to directly contribute to the development of the project itself? What spawned this was the idea that open source projects grow out [...]

Read More>

Trying to switch Planet Python to more topical feed

Posted on October, 22 at 5:40 pm | Filed Under Jython, Python

Just a quick note, I’m trying to switch the feed that Planet Python and Planet Jython grab to be one that only grabs relevant topics on this blog.  So far I’m not getting far, but if this seems blog seems to go a little quiet, you can always subscribe to this blog directly.

Read More>

Frank’s Jython Roadmap

Posted on October, 20 at 6:26 pm | Filed Under Jython, Python

Jython is nearing some important dates.  From Frank Wierzbicki: Jython 2.5 Beta We are closing in on a beta at the time of this writing. We have a pretty good implementation of Python, passing more than 99% of the unit tests that we pull in from CPython. We have implemented all of the 2.5 language [...]

Read More>

DJango – Automatically Send Request to templates?

Posted on October, 20 at 5:51 pm | Filed Under Jython, Python

Is there a setting I’m missing somewhere?  In order to send the session settings related to the current user back to the template in DJango from a custom view, I need to manually include the current request in the context like this: return render_to_response(‘info/index.html’, {‘latest_process_list’:my_process_list}, context_instance=RequestContext(request)) This doesn’t quite seem right … I don’t have [...]

Read More>

Python DJango lxml and xslt … problems with apache

Posted on October, 5 at 11:11 am | Filed Under Jython, Python

lxml is a beautiful library for handling xml and xsl transformations.  Thanks to the blog readers for their excellent suggestions.  I put together a quick DJango app to test it out and locally everything works great.  Deploying my app to my webfaction account though was a bit tricky.  In the end, due to an old [...]

Read More>

Python to do XSLT processing?

Posted on October, 3 at 9:32 am | Filed Under Python

I have a side project where I would like to use xsl style sheets to process xml data.  This is probably part of a small DJango or TurboGears project where users upload large xml datasets and they view them using various xsl style sheets.  What is the best way to go about doing this with [...]

Read More>

Please help updating the Jython resource list – Jython Bibliography

Posted on September, 23 at 9:51 am | Filed Under Jython, Python

Jython is progressing towards a new release and so it is time to update the Jython Bibliography. It is a list of all the articles and books that either reference Jython directly or in a signifcant way. Please take a look at it and let me know if there is anything I have missed. Lets [...]

Read More>

Jython Bean Scripting Framework (BSF) Example

Posted on September, 17 at 1:11 pm | Filed Under Collaboration, Jython, Python

Every time I have to put my head back into java and figure out how to embed Jython, I have a hard time finding any examples.  So, here is a quick example of getting jython working in BSF.  The java class runs jython first by exec’ing a string that contains a python fragment, and then [...]

Read More>

DJangocon Hits YouTube – Videos are up!

Posted on September, 15 at 9:14 pm | Filed Under Python, Web Tools

via Simon Willison, the DJangocon videos are hitting youtube.  You can subscribe to the youtube feed, or watch the keynote here. This is the best way to do conferences.  Having video available is a great consolation prize for us DJango supporters who couldn’t make the trip! Update: Here is a better list of the videos.

Read More>

DJangocon videos soon to appear

Posted on September, 11 at 4:01 pm | Filed Under Python

For those of us who couldn’t make the conference, it seems that the videos from DJangocon will be made available here.  Last check showed they weren’t up yet.

Read More>

More on Django on Jython

Posted on September, 5 at 7:03 pm | Filed Under Jython, Python, Software

Seems that Jython 2.2 release coincides with a desire by some Django  / Java developers to try to merge their favourite technologies (python and django) with their for pay technologies.  Here is another person working on porting Django to Jython.

Read More>