- Python Digital Forensics Cookbook
- Preston Miller Chapin Bryce
- 125字
- 2021-07-08 10:33:55
Getting started
All libraries used in this script are present in Python's standard library. While there are other argument-handling libraries available, such as optparse and ConfigParser, our scripts will leverage argparse as our de facto command-line handler. While optparse was the library to use in prior versions of Python, argparse has served as the replacement for creating argument handling code. The ConfigParser library parses arguments from a configuration file instead of the command line. This is useful for code that requires a large number of arguments or has a significant number of options. We will not cover ConfigParser in this book, though it is worth exploring if you find your argparse configuration becomes difficult to maintain.
To learn more about the argparse library, visit https://docs.python.org/3/library/argparse.html.
推薦閱讀
- Spring Boot 2實戰之旅
- Google Apps Script for Beginners
- EPLAN實戰設計
- Hands-On Functional Programming with TypeScript
- Creating Mobile Apps with jQuery Mobile(Second Edition)
- Service Mesh實戰:基于Linkerd和Kubernetes的微服務實踐
- Java網絡編程實戰
- uni-app跨平臺開發與應用從入門到實踐
- 微信小程序開發實戰:設計·運營·變現(圖解案例版)
- JavaScript悟道
- 算法秘籍
- Drupal 8 Development Cookbook(Second Edition)
- Modular Programming with JavaScript
- Elasticsearch搜索引擎構建入門與實戰
- Elasticsearch實戰(第2版)