This project is a simple Python script that creates a video database interface for managing YouTube playlists.
- Displays an ASCII art title for "Video Database"
- Stores YouTube playlist links in a dictionary
- Prints a list of available playlists with color-coded URLs
- The script starts by defining ANSI color codes for blue text and color reset.
- It then prints a large ASCII art title for "Video Database".
- A dictionary named
playlists
is defined, containing playlist names as keys and their corresponding YouTube URLs as values. - The script then prints a prompt asking the user to choose a playlist.
- Finally, it iterates through the
playlists
dictionary, printing each playlist name followed by its URL (colored in blue for better visibility).
To run the script, follow these instructions based on your operating system:
- Open Command Prompt or PowerShell
- Navigate to the directory containing the script
- Run the following command: python the-database.py
- Open Terminal
- Navigate to the directory containing the script
- Run the following command: python3 the-database.py
Note: If you have multiple Python versions installed, you may need to use python3
instead of python
on all operating systems to ensure you're using Python 3.
If you encounter a "command not found" error, make sure Python is installed and added to your system's PATH.
This will display the list of available playlists with their URLs.
If you stumble into other error messages contact me via my Github Profile.
Bye!