- 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.
推薦閱讀
- Django開發從入門到實踐
- Bulma必知必會
- Java程序設計與計算思維
- VMware虛擬化技術
- 精通MATLAB(第3版)
- HTML5 APP開發從入門到精通(微課精編版)
- Test-Driven Development with Django
- 從零開始學C#
- Java Web開發就該這樣學
- 從零開始學Selenium自動化測試:基于Python:視頻教學版
- Oracle 12c從入門到精通(視頻教學超值版)
- Beginning C# 7 Hands-On:The Core Language
- HTML5 Canvas核心技術:圖形、動畫與游戲開發
- Scala編程(第4版)
- The Python Apprentice