Python for Secret Agents, 2/e(Paperback)
暫譯: 秘密特工的 Python,第二版(平裝本)

Steven Lott

  • 出版商: Packt Publishing
  • 出版日期: 2015-11-30
  • 售價: $1,260
  • 貴賓價: 9.5$1,197
  • 語言: 英文
  • 頁數: 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 的標準庫進行更複雜的數據收集和分析

  • 由一位擁有超過 35 年顧問、教師、作者和軟體開發者經驗的 Python 程式設計專家撰寫

本書適合誰閱讀


本書適合對 Python 有一定了解的秘密特工。我們的重點是那些準備在 Python 中進行更複雜和高級編程的現場特工。我們大部分時間將專注於簡單的統計。雖然不需要熟練的焊接技巧,但一位熟練的現場特工應該能夠組裝一個可運作的 Arduino 電路,以收集自己的傳感器數據。

您將學到什麼



  • 將 Python 升級到最新版本,並發現其最新和最強大的工具

  • 使用 Python 庫從設計上更適合人類閱讀而非自動分析的日誌文件中提取數據

  • 總結日誌文件並提取有意義的信息

  • 從社交網絡網站收集數據,並利用您分析日誌文件的經驗來總結所找到的數據

  • 從社交網絡網站提取文本和圖像

  • 解析 PDF 文件中複雜且混亂的數據結構,以提取我們可以分析的有意義文本

  • 將小型智能設備連接到計算機,以將其用作遠程傳感器

  • 使用 Python 分析傳感器的測量數據,以進行校準並有效使用傳感器

詳細內容


Python 是一種易於學習且可擴展的程式語言,允許任何類型的秘密特工處理各種數據。從初學者到資深專業人士的特工都能從 Python 的簡單性和複雜性中受益。標準庫提供了許多超越簡單初學者任務的套件。Python 生態系統中的相關套件和庫支持深度信息處理。


本書將指導您升級基於 Python 的工具集,以進行情報收集、分析和通信。您將探索 Python 如何用於分析網頁日誌,以發現可以在網頁和數據庫伺服器中找到的活動痕跡。我們還將研究如何使用 Python 來發現社交網絡的細節,通過查看社交網絡網站上可用的數據。


最後,您將學會如何從 PDF 文件中提取歷史數據,這為數據開辟了新的來源,並了解如何使用基於 Arduino 的傳感器設備收集數據。

風格與方法


每一章將包括一個背景簡報,涵蓋一項基本的 Python 技術。在深入探索這些特徵後,章節將以一個具體應用 Python 工具和技術的任務作結。