Add files via upload

This commit is contained in:
José De Freitas 2021-02-06 14:48:34 -05:00 committed by GitHub
parent a8b463311a
commit e47c9a4006
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,15 @@
file_readme = './../readme.md'
with open(file_readme, 'r') as read_readme:
content_readme = read_readme.readlines()
def content_about():
content_about_errors_nums = []
content_about_line = 'Content about:'
for j, i in enumerate(content_readme):
if content_about_line in i:
if i[-2] != '\\':
content_about_errors_nums.append(j)
return content_about_errors_nums
content_about_errors_nums = content_about()

View File

@ -0,0 +1,16 @@
file_readme = './../readme.md'
with open(file_readme, 'r') as read_readme:
content_readme = read_readme.readlines()
def featured_playlists():
featured_playlists_errors_nums = []
featured_playlists_line = 'Featured playlists:'
featured_playlists_dlen = 124
for j, i in enumerate(content_readme):
if featured_playlists_line in i:
if len(i) < featured_playlists_dlen and i[-2] != '\\':
featured_playlists_errors_nums.append(j)
return featured_playlists_errors_nums
featured_playlists_errors_nums = featured_playlists()

View File

@ -0,0 +1,15 @@
file_readme = './../readme.md'
with open(file_readme, 'r') as read_readme:
content_readme = read_readme.readlines()
def youtubers_names():
youtubers_name_errors_nums = []
youtuber_count_char = '[**'
for j, i in enumerate(content_readme):
if youtuber_count_char in i:
if i[-2] != '\\':
youtubers_name_errors_nums.append(j)
return youtubers_name_errors_nums
youtubers_name_errors_nums = youtubers_names()