摘要: Email: distutils-sig@python.org As a popular open source development project, Python has an active supporting community of contributors and users that 阅读全文
posted @ 2024-06-30 10:04 开源AI精益 阅读(66) 评论(0) 推荐(0)
摘要: 16.1. Interactive Mode 16.1.1. Error Handling When an error occurs, the interpreter prints an error message and a stack trace. In interactive mode, it 阅读全文
posted @ 2024-06-30 10:01 开源AI精益 阅读(41) 评论(0) 推荐(0)
摘要: Floating-point numbers are represented in computer hardware as base 2 (binary) fractions. For example, the decimal fraction 0.625 has value 6/10 + 2/1 阅读全文
posted @ 2024-06-30 09:59 开源AI精益 阅读(18) 评论(0) 推荐(0)
摘要: Some versions of the Python interpreter support editing of the current input line and history substitution, similar to facilities found in the Korn sh 阅读全文
posted @ 2024-06-30 09:53 开源AI精益 阅读(8) 评论(0) 推荐(0)
摘要: Reading this tutorial has probably reinforced your interest in using Python — you should be eager to apply Python to solving your real-world problems. 阅读全文
posted @ 2024-06-30 09:49 开源AI精益 阅读(10) 评论(0) 推荐(0)
摘要: 12.1. Introduction Python applications will often use packages and modules that don’t come as part of the standard library. Applications will sometime 阅读全文
posted @ 2024-06-30 09:48 开源AI精益 阅读(89) 评论(0) 推荐(0)
摘要: This second tour covers more advanced modules that support professional programming needs. These modules rarely occur in small scripts. 11.1. Output F 阅读全文
posted @ 2024-06-30 09:47 开源AI精益 阅读(18) 评论(0) 推荐(0)
摘要: 10.1. Operating System Interface The os module provides dozens of functions for interacting with the operating system: >>> >>> import os >>> os.getcwd 阅读全文
posted @ 2024-06-30 09:46 开源AI精益 阅读(63) 评论(0) 推荐(0)
摘要: Classes provide a means of bundling data and functionality together. Creating a new class creates a new type of object, allowing new instances of that 阅读全文
posted @ 2024-06-29 22:59 开源AI精益 阅读(25) 评论(0) 推荐(0)
摘要: Until now error messages haven’t been more than mentioned, but if you have tried out the examples you have probably seen some. There are (at least) tw 阅读全文
posted @ 2024-06-29 22:58 开源AI精益 阅读(71) 评论(0) 推荐(0)