- Python Digital Forensics Cookbook
- Preston Miller Chapin Bryce
- 109字
- 2021-07-08 10:33:56
Getting started
All libraries used in this script are present in Python's standard library. The preferred library, in most situations, for handling file and folder iteration is the built-in os library. While this library supports many useful operations, we will focus on the os.path() and os.walk() functions. Let’s use the following folder hierarchy as an example to demonstrate how directory iteration works in Python:
SecretDocs/
|-- key.txt
|-- Plans
| |-- plans_0012b.txt
| |-- plans_0016.txt
| `-- Successful_Plans
| |-- plan_0001.txt
| |-- plan_0427.txt
| `-- plan_0630.txt
|-- Spreadsheets
| |-- costs.csv
| `-- profit.csv
`-- Team
|-- Contact18.vcf
|-- Contact1.vcf
`-- Contact6.vcf
4 directories, 11 files
推薦閱讀
- 摩登創客:與智能手機和平板電腦共舞
- Three.js開發指南:基于WebGL和HTML5在網頁上渲染3D圖形和動畫(原書第3版)
- Learning Flask Framework
- Java加密與解密的藝術
- Mastering ServiceNow(Second Edition)
- Hands-On Swift 5 Microservices Development
- 劍指大數據:企業級數據倉庫項目實戰(在線教育版)
- 愛上micro:bit
- Go語言編程
- 零基礎看圖學ScratchJr:少兒趣味編程(全彩大字版)
- 數字媒體技術概論
- Android技術內幕(系統卷)
- Clojure Data Structures and Algorithms Cookbook
- SQL Server 2014 Development Essentials
- 詩意的邊緣