command prompt cogs file not for discord.py

Hi there im working on a discord bot in discord.py but my cogs are getting an error in my command prompt saying its not finding the cogs and its saying syntax error cant decode bytes with escape sequence here’s what i have for the cogs

for filename in os.listdir('C:\Users\video\Desktop\Romani\cogs'):
    if filename.endswith('.py'):
        client.load_extension(f'cogs.{filename[:-3]}')

To use back-slashes in python, you have to double them up. Try changing:

for filename in os.listdir('C:\Users\video\Desktop\Romani\cogs'):

to:

for filename in os.listdir('C:\\Users\\video\\Desktop\\Romani\\cogs'):

For some more info, see this.