Make all Python scripts executable and add findAlreadyTreatedCommentsCount.py
to find how many comments were already treated
This commit is contained in:
parent
3758405f52
commit
3ae0f4e924
12
findAlreadyTreatedCommentsCount.py
Executable file
12
findAlreadyTreatedCommentsCount.py
Executable file
@ -0,0 +1,12 @@
|
||||
#!/usr/bin/python3
|
||||
|
||||
PREFIX = 'Comments per second: '
|
||||
alreadyTreatedCommentsCount = 0
|
||||
|
||||
with open('nohup.out') as f:
|
||||
lines = f.read().splitlines()
|
||||
for line in lines:
|
||||
if PREFIX in line:
|
||||
alreadyTreatedCommentsCount += int(line.split(PREFIX)[-1])
|
||||
|
||||
print(alreadyTreatedCommentsCount)
|
0
findLatestTreatedCommentsForChannelsBeingTreated.py
Normal file → Executable file
0
findLatestTreatedCommentsForChannelsBeingTreated.py
Normal file → Executable file
0
findTreatedChannelWithMostComments.py
Normal file → Executable file
0
findTreatedChannelWithMostComments.py
Normal file → Executable file
0
findTreatedChannelWithMostSubscribers.py
Normal file → Executable file
0
findTreatedChannelWithMostSubscribers.py
Normal file → Executable file
0
removeChannelsBeingTreated.py
Normal file → Executable file
0
removeChannelsBeingTreated.py
Normal file → Executable file
0
retrieveTop100SubscribersFrance.py
Normal file → Executable file
0
retrieveTop100SubscribersFrance.py
Normal file → Executable file
Loading…
Reference in New Issue
Block a user