Brother Wei's Private Python Recipes
Tags
Summary
Editor's review
Who it's for
A good fit for
- 已有 Python 基础、需要随手查阅实用写法的开发者
- 从事运维或系统管理工作、常写自动化脚本的工程师
- 需要参考 zabbix、cron、系统信息采集类脚本的读者
- 喜欢“短条目+示例代码”速查式阅读的技术爱好者
Not a good fit for
- 完全没有编程经验、需要系统入门教程的零基础读者
- 希望学习现代 Python 3 工程实践与规范的读者
- 需要深度学习某一主题(如 Web、数据分析)的读者
Reading tips
- 先通读目录,把条目按自己的工作任务挑出来读,不必从头顺读。
- 示例多为 Python 2 时代写法,照抄前先在 Python 3 环境下试跑并核对模块。
- 读每条时补上官方文档中的函数说明,把它当引子而不是最终答案。
- 把与自己工作相关的脚本整理进个人代码库,边改边积累成自己的“私房菜”。
About the publisher
In addition to science and technology and professional publishing, the books in our catalog from China Machine Press also reflect a sustained focus on psychology, computing, management, finance and economics, and social sciences. In psychology, the catalog includes works by C. G. Jung and introductions to analytical psychology, as well as applied topics such as stress and health, and addiction and healing. In computing, it features Structure and Interpretation of Computer Programs (JavaScript Edition). Management and finance titles include Administrative Behavior (4th Edition), The Price of Inequality (Collector's Edition), and This Time Is Different: Eight Centuries of Financial Folly (Commemorative Edition). In the philosophy and history of science, there is The Worldview: The Third Edition. Relevant authors include C. G. Jung, William McGuire, Sonu Shamdasani, and Gabor Maté. Public information is limited; the above summarizes the publisher's profile based solely on the books in our catalog.
Contents
- Book Introduction
- Common Uses of join and split in Python
- A Summary of Common Time and Date Function Calculations in Python
- A Collection of Common Operations for Python Lists and Arrays
- Examples of Common Methods of the Python ConfigParser Module
- A Detailed Guide to Common Methods of the python os.path Module
- Several Common Ways to Execute System Commands in Python
- A Python Script for Deploying the zabbix Client on Windows
- A Summary of String Encryption and Decryption Methods in Python
- Common Concentrated Ways to Handle Program Exceptions with try in Python
- Monitoring Database Ports for Multiple Database Instances on a Single Machine with Python
- A Summary of 12 Common Basics in Python Programming
- Upper- and Lowercase Conversion for Strings in Python
- A Python Script for Automatically Adding and Removing Hosts in zabbix
- Splitting Python Strings by Fixed Length
- A Python Script to Clear Expired Scheduled Tasks in Linux cron
- Using the WMI Module to Obtain Windows System Information in Python
- Recursively Traversing All Files in a Directory
- The wx.Frame Framework Properties of python wx
- Implementing Sound in a Python Alarm Program with winsound
FAQ
这本书适合零基础学 Python 吗?
书中代码现在还能直接运行吗?
这本书有多少字、篇幅大吗?
和常见 Python 入门书有什么区别?
哪里能买到正版?
Comments
Find this book
This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.
About the author
Wang Wei is an author whose works span several fields; public information about him is limited, and details such as his life story and nationality remain unclear. Judging from the 65 titles held in the collection, his interests range across Eastern and Western philosophy, medicine, politics, culture, and documentary literature. Representative works include Chu Ci Collation and Notes and A Compilation of Scattered Chu Ci Materials from Successive Dynasties, reflecting his engagement with the textual study of the Chu Ci; Ling Shu Principles and Methods, Zhongjing Principles and Methods, and Illustrated Minimally Invasive Abdominal Surgery show his attention to traditional Chinese medical theory and surgery; The Prince, the third volume of the First Book to Understand the World Pattern, on China's periphery, and Epidemic and Social Contagion on Complex Networks further reveal a scope covering political thought, international affairs, and interdisciplinary research. Overall, his works combine textual compilation, knowledge popularization, and topical studies, offering reference for readers with different needs.