Python Programming with the Java Class Libraries: A Tutorial for Building Web
暫譯: 使用 Java 類庫的 Python 程式設計:建構網頁的教程

Richard Hightower

買這商品的人也買了...

相關主題

商品描述

Characterized by ease of use, richness of expression, and concise syntax, Python has remained a premier programming language for more than a decade, and is used by novices and professionals alike. In particular, its close relationship to Java™ makes the two languages, when used in combination, ideal for Web and distributed enterprise application development.

This tutorial begins with coverage of some of the basics of Python programming. Using plenty of skill-building exercises and interactive programming sessions, this book will help those new to programming develop an understanding of concepts and practical techniques. For experienced programmers, the book demonstrates Python's breadth of capabilities and shows the ways that Python interfaces with Java APIs for professional application development.

Python Programming with the Java™ Class Libraries: A Tutorial for Building Web and Enterprise Applications with Jython covers important topics such as:

  • Fundamental programming concepts, including statements, expressions, interpreters, and compilers
  • Python basics, including operators, string formatting, namespaces, classes, errors, and exceptions
  • Object-oriented programming concepts
  • File input/output
  • Python's intrinsic functions
  • Formatting, parsing, and manipulating strings
  • Interfacing with the Java APIs and working with Java Streams
  • Using Python and Java Swing to create GUIs
  • Working with SQL and JDBC™
  • Python and Java applets

In addition, the book contains instructions for downloading and installing the Python language and the Java Development Kit (JDK). Terminology, definitions, explanations, and numerous code samples make this book a useful learning experience.

Whether you are a sophisticated computer user new to programming or a serious application developer, Python Programming with the Java™ Class Libraries will give you insight into the power of Python and the know-how to put it to work.

Table of Contents

Preface.
1. Jython Overview.
2. Statements and Expressions.
3. Operators and String Formatting.
4. Control Flow.
5. Organizing Your Code.
6. Object-Oriented Programming.
7. Errors and Exceptions.
8. Working with Files.
9. Built-In Functions.
10. Working with Strings.
11. Interfacing with Java.
12. Working with Java Streams.
13. JFC Fundamentals.
14. First Swing Application, Layout, and Menu.
15. Graphics and Events.
16. Advanced Swing.
17. SQL and JDBC.
18. Applets.
Appendix A: Installing Jython on Windows.
Appendix B: Installing Jython on Linux by Jaysen Lorenzen.
Appendix C: The Power of Scripting.
Appendix D: Java and Python: A Comparison.
Appendix E: Regular Expressions by Jaysen Lorenzen.

商品描述(中文翻譯)

以易用性、表達豐富性和簡潔語法為特徵,Python 在過去十多年中一直是首屈一指的程式語言,並且被新手和專業人士廣泛使用。特別是,Python 與 Java™ 的密切關係使得這兩種語言在結合使用時,成為網頁和分散式企業應用程式開發的理想選擇。

本教程首先涵蓋 Python 程式設計的一些基本概念。透過大量的技能培養練習和互動程式設計課程,本書將幫助新手程式設計師理解概念和實用技術。對於有經驗的程式設計師,本書展示了 Python 的廣泛能力,並展示了 Python 如何與 Java API 介面進行專業應用程式開發。

《使用 Java™ 類庫的 Python 程式設計:使用 Jython 建立網頁和企業應用程式的教程》涵蓋了以下重要主題:

- 基本程式設計概念,包括語句、表達式、解釋器和編譯器
- Python 基礎,包括運算符、字串格式化、命名空間、類別、錯誤和例外
- 物件導向程式設計概念
- 檔案輸入/輸出
- Python 的內建函數
- 字串的格式化、解析和操作
- 與 Java API 介面及使用 Java Streams
- 使用 Python 和 Java Swing 創建 GUI
- 與 SQL 和 JDBC™ 互動
- Python 和 Java 小應用程式

此外,本書還包含下載和安裝 Python 語言及 Java 開發工具包 (JDK) 的指導。術語、定義、解釋和大量的程式碼範例使本書成為一個有用的學習經驗。

無論您是新接觸程式設計的高級電腦使用者,還是認真的應用程式開發者,《使用 Java™ 類庫的 Python 程式設計》將讓您深入了解 Python 的強大功能,並掌握將其應用於實際工作的技巧。

目錄
前言。
1. Jython 概述。
2. 語句和表達式。
3. 運算符和字串格式化。
4. 控制流程。
5. 組織您的程式碼。
6. 物件導向程式設計。
7. 錯誤和例外。
8. 檔案操作。
9. 內建函數。
10. 字串操作。
11. 與 Java 介面。
12. 使用 Java Streams。
13. JFC 基礎。
14. 第一個 Swing 應用程式、佈局和選單。
15. 圖形和事件。
16. 進階 Swing。
17. SQL 和 JDBC。
18. 小應用程式。
附錄 A:在 Windows 上安裝 Jython。
附錄 B:在 Linux 上安裝 Jython 由 Jaysen Lorenzen。
附錄 C:腳本的力量。
附錄 D:Java 和 Python:比較。
附錄 E:正則表達式 由 Jaysen Lorenzen。