Nbpysamples
Sample Python projects in NetBeans
-- Amit Saha
-- Last updated: 6 January, 2009
This page shall track the sample projects shipped with NetBeans IDE for Python development. The code has been pushed to the repository via http://hg.netbeans.org/main/rev/d1950aeb7ecd. The original issue is tracked at http://www.netbeans.org/issues/show_bug.cgi?id=153656
You may send __me__or the nbpython-dev@netbeans.org list patches/enhancements/new sample projects.
Sample Projects
Currently, these are the sample projects:
- Java Swing application written in Jython- This demonstrates accessing Java libraries from Jython
- Simple Tokenizer using PLY - This Python project uses PLY (Lex/Yacc for Python) to build a simple Token recognizer
- Multi-threading in Python - A simple Multi-threaded application in Python
NOTE: The following issue should be fixed as of http://hg.netbeans.org/main/rev/5cbf471f0c8d.
These samples have been developed with Python 2.5.2 and Jython 2.5 b0. You might run into the following dialog box if your builds are not the same:
File:Nbpysamples/pynb-samples-error Nbpysamples.png
In that case, Right-Click on the Project node and change the Python platform in its properties.
Get Started
To start using the samples, install the samples module from the Plugin Manager. Of course, you can also use them if you want to pullthe sourcs from the NetBeans main repo and then build NetBeans as instructed here
