My Code:
videos = []
for keys in data:
videos.append({f"'path: 'videos/{filename}.mp4', 'description': '{filename}'"},)
The problem:
As you can see the f-string is putting the "" inside the {} but i dont want that
My Code:
videos = []
for keys in data:
videos.append({f"'path: 'videos/{filename}.mp4', 'description': '{filename}'"},)
The problem:
As you can see the f-string is putting the "" inside the {} but i dont want that
Copyright © 2021 Jogjafile Inc.
You were creating a set like this:
This makes the entire thing one big string inside a set. Do this instead: