Coursera Using Python to Interact with the Operating System - Week 7 Solved | Google IT Auto | 2020

preview_player
Показать описание
#!/usr/bin/env python3
import re
import sys
import operator
import csv

users={}
errors={}

for line in f:
if (usrname not in users):
user_count = {'INFO': 0, 'ERROR': 0}
users[usrname] = user_count
users[usrname][msg]+=1

if msg=="ERROR":
if (err not in errors):
errors[err]=0
errors[err]+=1

users2=[]
errors2=[]

My Channel Link:

My Instagram Link:

About : KJ GamTech Studio is a YouTube Channel, where you will find Tech, Tutorials and gaming videos in Hindi, I hope this video was Useful and you liked it, if you did press the thumbs up button.

If You Like My Video Than Please Subscribe My Channel.
Рекомендации по теме
Комментарии
Автор

Your videos are just amazing, thank you so much, they saved my life.

jiarongbao
Автор

if u get error in var/www/html step run the following codes:
first step : sudo mkdir /var/www
second step : sudo mkdir /var/www/html
third and final step run the sudo chmod given in qwik lab again this time there will be no error!
:)

sudeep-gzrt
Автор

at 12:35 after clicking sudo chmod o+w /var/www/html it is showing no such file or directory. Can someone tell me what's the error

vaddijashwanthreddy
Автор

Can Any one Help me !! In week 7 When I write cat syslog.log ...it shows the output No such file or directory

bibhashkumar
join shbcf.ru