Python for Secret Agents, 2/e(Paperback)

Steven Lott

  • 出版商: Packt Publishing
  • 出版日期: 2015-11-30
  • 售價: $1,240
  • 貴賓價: 9.5$1,178
  • 語言: 英文
  • 頁數: 180
  • 裝訂: Paperback
  • ISBN: 1785283405
  • ISBN-13: 9781785283406
  • 相關分類: Python程式語言
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Gather, analyze, and decode data to reveal hidden facts using Python, the perfect tool for all aspiring secret agents

About This Book

  • Discover the essential features of Python programming: statements, variables, expressions, and many of the built-in data types
  • Use Python's standard library to do more sophisticated data gathering and analysis
  • Written by a Python programming expert, with over 35 years' experience as a consultant, teacher, author and software developer

Who This Book Is For

This book is for Secret Agents who have some exposure to Python. Our focus is on the Field Agents who are ready to do more sophisticated and complex programming in Python. We'll stick to simple statistics for the most part. A steady hand with a soldering iron is not required, but a skilled field agent should be able to assemble a working Arduino circuit to gather their own sensor data.

What You Will Learn

  • Upgrade Python to the latest version and discover its latest and greatest tools
  • Use Python libraries to extract data from log files that are designed more for people to read than for automated analysis
  • Summarize log files and extract meaningful information
  • Gather data from social networking sites and leverage your experience of analyzing log files to summarize the data you find
  • Extract text and images from social networking sites
  • Parse the complex and confusing data structures in a PDF file to extract meaningful text that we can analyze
  • Connect small, intelligent devices to our computer to use them as remote sensors
  • Use Python to analyze measurements from sensors to calibrate them and use sensors efficiently

In Detail

Python is easy to learn and extensible programming language that allows any manner of secret agent to work with a variety of data. Agents from beginners to seasoned veterans will benefit from Python's simplicity and sophistication. The standard library provides numerous packages that move beyond simple beginner missions. The Python ecosystem of related packages and libraries supports deep information processing.

This book will guide you through the process of upgrading your Python-based toolset for intelligence gathering, analysis, and communication. You'll explore the ways Python is used to analyze web logs to discover the trails of activities that can be found in web and database servers. We'll also look at how we can use Python to discover details of the social network by looking at the data available from social networking websites.

Finally, you'll see how to extract history from PDF files, which opens up new sources of data, and you'll learn about the ways you can gather data using an Arduino-based sensor device.

Style and approach

Each chapter will include a background briefing that covers an essential Python technology. After some in-depth exploration of the features, the chapter will conclude with a mission that is a concrete application of the Python tools and techniques covered.

商品描述(中文翻譯)

使用Python這個完美的工具,收集、分析和解碼數據,揭示隱藏的事實,對於所有有抱負的特工來說,這本書是必備的。

關於本書:
- 探索Python編程的基本特性:語句、變量、表達式和許多內置的數據類型。
- 使用Python的標準庫進行更複雜的數據收集和分析。
- 作者是一位Python編程專家,擁有超過35年的顧問、教師、作者和軟件開發人員的經驗。

本書適合對Python有一定了解的特工。我們的重點是對Python進行更複雜和高級的編程的特工。我們將主要關注簡單的統計學。不需要擅長使用焊接鐵,但一位熟練的特工應該能夠組裝一個工作的Arduino電路來收集自己的感測器數據。

你將學到什麼:
- 將Python升級到最新版本,並發現其最新和最好的工具。
- 使用Python庫從日誌文件中提取數據,這些文件更適合人們閱讀而不是自動分析。
- 總結日誌文件並提取有意義的信息。
- 從社交網絡網站收集數據,並利用分析日誌文件的經驗總結你找到的數據。
- 從社交網絡網站提取文本和圖像。
- 解析PDF文件中複雜且混亂的數據結構,提取我們可以分析的有意義的文本。
- 將小型智能設備連接到計算機,將其用作遠程感測器。
- 使用Python分析來自感測器的測量數據,對其進行校準並高效使用感測器。

詳細內容:
Python是一種易於學習且可擴展的編程語言,可以讓任何特工處理各種數據。從初學者到經驗豐富的老手,特工們都能從Python的簡單性和複雜性中受益。標準庫提供了許多超越初學者任務的包。與Python相關的包和庫的生態系統支持深度信息處理。

本書將指導您升級基於Python的情報收集、分析和通信工具。您將探索使用Python分析網絡日誌以發現網絡和數據庫服務器中的活動蹤跡。我們還將研究如何通過查看社交網絡網站提供的數據來發現社交網絡的詳細信息。

最後,您將了解如何從PDF文件中提取歷史記錄,這將開啟新的數據來源,並學習使用基於Arduino的感測器設備收集數據的方法。

風格和方法:
每章將包括一個背景簡介,介紹一個重要的Python技術。在深入探索這些特性之後,本章將以一個具體的應用案例作為任務結束,該案例使用了所介紹的Python工具和技術。