Skip to Content
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
Explore Skills
Cloud Computing
Microsoft Azure
Amazon Web Services (AWS)
Google Cloud
Cloud Migration
Cloud Deployment
Cloud Platforms
Data Engineering
Data Warehouse
SQL
Apache Spark
Microsoft SQL Server
MySQL
Kafka
Data Lake
Streaming & Messaging
NoSQL Databases
Relational Databases
Data Science
Pandas
R
MATLAB
SAS
D3
Power BI
Tableau
Statistics
Exploratory Data Analysis
Data Visualization
AI & ML
Generative AI
Machine Learning
Artificial Intelligence (AI)
Deep Learning
Reinforcement Learning
Natural Language Processing
TensorFlow
Scikit-Learn
Hyperparameter Tuning
MLOps
Programming Languages
Java
JavaScript
Spring
Python
Go
C#
C++
C
Swift
Rust
Functional Programming
Software Architecture
Object-Oriented
Distributed Systems
Domain-Driven Design
Architectural Patterns
IT/Ops
Kubernetes
Docker
GitHub
Terraform
Continuous Delivery
Continuous Integration
Database Administration
Computer Networking
Operating Systems
IT Certifications
Security
Network Security
Application Security
Incident Response
Zero Trust Model
Disaster Recovery
Penetration Testing / Ethical Hacking
Governance
Malware
Security Architecture
Security Engineering
Security Certifications
Design
Web Design
Graphic Design
Interaction Design
Film & Video
User Experience (UX)
Design Process
Design Tools
Business
Agile
Project Management
Product Management
Marketing
Human Resources
Finance
Team Management
Business Strategy
Digital Transformation
Organizational Leadership
Soft Skills
Professional Communication
Emotional Intelligence
Presentation Skills
Innovation
Critical Thinking
Public Speaking
Collaboration
Personal Productivity
Confidence / Motivation
Features
All features
Verifiable skills
AI Academy
Courses
Certifications
Interactive learning
Live events
Superstreams
Answers
Insights reporting
Radar Blog
Buy Courses
Plans
Sign In
Try Now
O'Reilly Platform
book
Python语言及其应用(第2版)
by
Bill Lubanovic
March 2022
Intermediate to advanced
522 pages
13h 52m
Chinese
Posts & Telecom Press
Content preview from
Python语言及其应用(第2版)
Python
的艺术
|
393
20.5.3 Bokeh
在过去的
Web
时代,开发人员会在服务器端生成图形,并提供
URL
以供
Web
浏览器访
问。近来,
JavaScript
的
性能获得了提升,也有了
D3
等客户端图形生成工具。本章前面
提到过一种可能性,即使用
Python
作为图形和
GUI
的前后端架构的一部分
。一款名为
Bokeh
的新工具结合了
Python
(大数据集
、易用性)和
JavaScript
(交互性、更短的图形延
迟)的优势。它的重点在于大数据集的快速可视化。
如果已经准备好了
Bokeh
的依赖环境
(
NumPy
、
Pandas
和
Redis
),就可以直接输入下列命
令安装了:
$
pip install bokeh
(
NumPy
和
Pandas
的用法参见第
22
章
。)
或者,在
Bokeh
网站上一次性全部安装
。
Matplotlib
运行在服务器上,而
Bokeh
主要运行
在浏览器中,并且能够利用客户端最近的技术成果。点击图库中的任意图像,可以查看交
互视图及其
Python
代码。
20.6
游戏
Python
是一个不错的游戏开发平台,以下是与之相关的图书。
•
由
Al Sweigart
所著的
Invent Your Own Computer Games with Python
。
•
由
Horst Jens
所著的
The Python Game Book
(
DocW
iki
电子书)。
一般性讨论参见
Python wiki
,其中包含更多的参考链接。
最棒的
Python
游戏平台大概就是
Pygame
了
。可以在
Pygame
官网下载安装程序,阅读一 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial
You might also like
Python编程入门与实战
Posts & Telecom Press, Fabrizio Romano
Python实用技能学习指南
Posts & Telecom Press, Robert Smallshire, Austin Bingham
Python技术基础视频教程
保罗·J·戴特尔
Python面向对象编程指南
Posts & Telecom Press, Steven F. Lott
Publisher Resources
ISBN: 9787115586223