alexa
Facebook
Twitter
LinkedIn
Instagram
Whatsapp
Call Now
Quick Inquiry

Python script for log parsing [closed] in python ?

Python script for log parsing [closed] in python ?

You're not opening the file like you think you are.

Instead of your current file_text = open(..., Use the following for best results:

 with open(log_file, 'r', encoding='utf8') as f:
    file_text = f.readlines()

140 0
7

Write a Comments


* Be the first to Make Comment

GoodFirms Badge
GoodFirms Badge

Fix Your Meeting With Our SEO Consultants in India To Grow Your Business Online