#10 Python Data Extraction using Server Log Files

Data Skills for Everyone
Data Skills for Everyone
5.5 هزار بار بازدید - 2 سال پیش - Driving Question:I have a server
Driving Question:
I have a server log file that I would like to analyze and draw some insights from. How can I extract this data using python?

In today’s tutorial, we will tackle another task that could be a little challenging depending on the nature of your file. Fortunately, if your data lends itself to some consistent structure, there are tools to help with nicely with it. Some familiarity with Python string formatting may be helpful to understand this.
What we’ll cover today:

0:00 Introduction
2:43 Read in the text file
3:32 Parse data with Python parse package
12:37 Parse all data using the map function

Additional References:
This tutorial assumes a basic understanding of Python strings. Also, some basic understanding of reading and writing files will be sufficient.

Previous lesson: #9 Basic Python Data Extraction from ...
Source Code
Visit the following GitHub repository to follow along with the code used in this tutorial

https://github.com/quizem/data-skills...
2 سال پیش در تاریخ 1401/08/29 منتشر شده است.
5,534 بـار بازدید شده
... بیشتر