JPython « Library Product « Java Articles

Home
Java Articles
1.Build Deploy
2.Class
3.Core Library
4.Data Types
5.Database JDBC
6.Design
7.Development
8.File Input Output
9.Graphics Desktop
10.J2EE Enterprise
11.J2ME Wireless
12.JVM
13.Language
14.Library Product
15.Network
16.Security
17.SOA Web Services
18.Test
19.Web Development
20.XML
Java Articles » Library Product » JPython 

1. Charming Python: Inside JPython and Python for .NET    ibm.com

Although Python is commonly equated with CPython, its specification has been implemented elsewhere several times, including in applications for Java and .NET. JPython compiles Python source to Java bytecode and provides transparent access to Java classes. Python for .NET is an application in the works for Microsoft's forthcoming cross-language technology platform. In my interview with Mark Hammond, Finn Bock, and Barry Warsaw, I found out more about how JPython and Python for .NET were developed and what's in store for the future of these alternative Python implementations.

2. Charming Jython    ibm.com

Jython, originally known as JPython, is an all-Java application that allows developers to use the syntax and most of the features of the Python programming language. Jython is interesting to Java programmers for several reasons:

3. Java and Python: a perfect couple    developer.com

The most commonly used general scripting languages are Visual Basic, Perl, Tcl and Python. (You may ask, what about JavaScript? So far it has found few applications outside Web browsers.) It is interesting to see which scripting languages are used most in conjunction with which system programming languages and on which platforms. VB is clearly the scripting language of choice for C++ on Windows; it is platform-specific and cannot easily fulfill the same role on other platforms. Perl and Tcl are used most often with C on Unix platforms.

4. Charming Python: Functional programming in Python, Part 1    ibm.com

We'd better start with the hardest question: "What is functional programming (FP), anyway?" One answer would be to say that FP is what you do when you program in languages like Lisp, Scheme, Haskell, ML, OCAML, Clean, Mercury, or Erlang (or a few others). That is a safe answer, but not one that clarifies very much. Unfortunately, it is hard to get a consistent opinion on just what FP is, even from functional programmers themselves. A story about elephants and blind men seems apropos here. It is also safe to contrast FP with "imperative programming" (what you do in languages like C, Pascal, C++, Java, Perl, Awk, TCL, and most others, at least for the most part).

5. Regular Expressions in Python > Python's Regular Expression Language    informit.com

A regular expression is a compact notation for representing a collection of strings. What makes regular expressions so powerful is that a single regular expression can represent an unlimited number of strings—provided that they meet the regular expression's requirements. Regular expressions (we'll refer to them mostly as "regexes" from now on) are defined using a mini-language that's completely different from Python—but Python includes the re module, through which we can seamlessly create and use regexes.

6. Regular Expressions in Python 3 > Pythons Regular Expression Language    informit.com

A regular expression is a compact notation for representing a collection of strings. What makes regular expressions so powerful is that a single regular expression can represent an unlimited number of strings—providing they meet the regular expression’s requirements. Regular expressions (which we will mostly call “regexes” from now on) are defined using a mini-language that is completely different from Python—but Python includes the re module through which we can seamlessly create and use regexes.*

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.