- 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
推薦閱讀
- HTML5+CSS3+JavaScript從入門到精通:上冊(微課精編版·第2版)
- DevOps Automation Cookbook
- Bulma必知必會
- INSTANT Passbook App Development for iOS How-to
- NGINX Cookbook
- Maker基地嘉年華:玩轉樂動魔盒學Scratch
- C++程序設計教程(第2版)
- Android移動應用開發項目教程
- Android移動應用項目化教程
- PHP 8從入門到精通(視頻教學版)
- Learning Jakarta Struts 1.2: a concise and practical tutorial
- 微前端設計與實現
- Elasticsearch Blueprints
- Building UIs with Wijmo
- Clojure編程樂趣