23 Other topics-"Python core programming"

Source: Internet
Author: User

?? Introduction?? WEB Services?? using Win32 com to operate Microsoft Office?? using Jython to write Python and Java programs23.1 Web services on the network, there are a large number of Web services and applications, they provide a wide range of services. You'll find that most large service providers provide (their) application interfaces (APIs) such as Yahoo!, Google, EBay, Amazon, and so on. In the past, APIs have been used only to access data that uses these services, but today's APIs are different, they are both rich and functional, and you can integrate these Web services into your own personal sites and web pages, often referred to as "mash-ups."
Yahoo! Financial Stock Quote Server 23.2 use WIN32 COM to operate Microsoft Office

23.3 using Jython to write Python and Java programs what is Jython Jython is a tool that can combine two different programming languages。 First, it enables Python programmers to get involved in the Java development environment and enable them to quickly develop schema prototypes for seamless integration into existing Java platforms. Second, it can simplify the work of millions of Java programmers by adding scripting languages to Java. Java programmers don't have to write a whole bunch of test cases or drivers for a class they just wrote. Jython provides most of the functionality of Python, as well as the ability to instantiate Java classes and interact with Java classes。 The Jython code is dynamically compiled into Java bytecode, so you can extend the Java class with Jython.    You can also use Java to extend Python. It is easy to write a class in Python that uses this class like a Java class.        You can even compile the Jython script statically to Java bytecode. Java gives Python users some additional benefits, namely that they can use local exception handling (which is also known as "CPython" in standard python--versus other implementations). And a garbage collector that can use Java (so there's no need to develop a Python implementation for Java). Swing GUI Development (Java or python!)

23 Other topics-"Python core programming"

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.