- 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
推薦閱讀
- SQL Server 從入門到項目實踐(超值版)
- 軟件安全技術
- Kibana Essentials
- Java 開發從入門到精通(第2版)
- Python機器學習:數據分析與評分卡建模(微課版)
- 從程序員到架構師:大數據量、緩存、高并發、微服務、多團隊協同等核心場景實戰
- Java:Data Science Made Easy
- 21天學通C++(第6版)
- R的極客理想:工具篇
- Java EE核心技術與應用
- Java零基礎實戰
- 時空數據建模及其應用
- Developing SSRS Reports for Dynamics AX
- .NET 4.5 Parallel Extensions Cookbook
- Java EE 7 with GlassFish 4 Application Server