#10 Python Data Extraction using Server Log Files

Published: 20 November 2022
on channel: Data Skills for Everyone
6,374
90

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...


On this page of the site you can watch the video online #10 Python Data Extraction using Server Log Files with a duration of hours minute second in good quality, which was uploaded by the user Data Skills for Everyone 20 November 2022, share the link with friends and acquaintances, this video has already been watched 6,374 times on youtube and it was liked by 90 viewers. Enjoy your viewing!