Make all Python scripts executable and add findAlreadyTreatedCommentsCount.py to find how many comments were already treated

This commit is contained in:
Benjamin Loison 2023-01-07 15:45:31 +01:00
parent 5a7e5b6f78
commit ba37d6a111
6 changed files with 12 additions and 0 deletions

View 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
View File

0
findTreatedChannelWithMostComments.py Normal file → Executable file
View File

0
findTreatedChannelWithMostSubscribers.py Normal file → Executable file
View File

0
removeChannelsBeingTreated.py Normal file → Executable file
View File

0
retrieveTop100SubscribersFrance.py Normal file → Executable file
View File