Revision as of 00:21, 3 February 2015 by Mr lou d (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)

Sample Python projects in NetBeans

-- This page under revision for 2015!!! Pardon our dust...

-- 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 patches/enhancements/new sample projects to mr_lou_d at netbeans dot org or notify the nbpython-dev@netbeans.org list .

Sample Projects

Currently, these are the sample projects:

File:Sample Projects

  1. Java Swing application written in Jython- This demonstrates accessing Java libraries from Jython
  2. Simple Tokenizer using PLY - This Python project uses PLY (Lex/Yacc for Python) to build a simple Token recognizer
  3. 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 pull the sources from the NetBeans main repo and then build NetBeans as instructed here

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo