🎈🎁 Wish your loved one a warm Happy Birthday in a pythonic way inside a terminal.

hemantapkh, updated 🕥 2022-07-17 14:20:14

platform licence Forks Stars Issues Pull Requests Subscribe my channel H9 PyBirthdayWish GIF

Wish your loved one in a pythonic way

views likes comments visitors

🕯️ Steps to wish

  • Clone this repo and install the requirements bash git clone https://github.com/hemantapkh/PyBirthdayWish.git && cd PyBirthdayWish && pip install -r requirements.txt
  • Edit the arts/art.py file and add your texts and colors using color codes.

  • Edit the config.py file to change the settings and make artFile = 'art' to use arts/art.py instead of example.py.

  • Run PyBirthdayWish.py with python3 bash python3 PyBirthdayWish.py

  • If everthing is working as intended, you can create an executable by using pyinstaller with the following command

    • On windows bash pyinstaller --noconfirm --onefile --console --icon "icon.ico" --no-embed-manifest --add-data "arts;arts/" --add-data "config.py;." --add-data "HappyBirthday.mp3;." --add-data "PyBirthdayWish.py;." "PyBirthdayWish.py"
    • On Unix based system bash pyinstaller --noconfirm --onefile --console --icon "icon.ico" --no-embed-manifest --add-data "arts:arts/" --add-data "config.py:." --add-data "HappyBirthday.mp3:." --add-data "PyBirthdayWish.py:." "PyBirthdayWish.py"

* Send the executable file (Inside dist folder) to your friend and wish them a pythonic happy birthday.

Made with :heart: and Python.


Could not find 'libvlc.dll'

opened on 2022-11-04 14:35:05 by AllenWu233

Traceback (most recent call last): File "E:\Python_work\program\PyBirthdayWish\PyBirthdayWish.py", line 7, in <module> import vlc File "E:\Python_work\program\PyBirthdayWish\birthday_venv\lib\site-packages\vlc.py", line 220, in <module> dll, plugin_path = find_lib() File "E:\Python_work\program\PyBirthdayWish\birthday_venv\lib\site-packages\vlc.py", line 180, in find_lib dll = ctypes.CDLL('.\\' + libname) File "E:\Python\Python310\lib\ctypes\__init__.py", line 374, in __init__ self._handle = _dlopen(self._name, mode) FileNotFoundError: Could not find module 'E:\Python_work\program\PyBirthdayWish\libvlc.dll' (or one of its dependencies). Try using the full path with constructor syntax. help me pls😭


opened on 2022-10-31 19:23:04 by SaveraRaj

This is showing while downloading the requirements

ERROR: Could not build wheels for pyinstaller, which is required to install pyproject.toml-based projects

No module named 'termcolor'

opened on 2022-10-15 13:33:42 by Biswageek

Traceback (most recent call last): File "/data/data/com.termux/files/home/PyBirthdayWish/PyBirthdayWish.py", line 8, in from termcolor import colored ModuleNotFoundError: No module named 'termcolor'

Birthday party wish

opened on 2022-08-01 12:07:38 by Itamarji

Nice 👍

No module name 'vlc'

opened on 2022-06-01 21:57:16 by 1TXB1L4L

Traceback (most recent call last): File "/data/data/com.termux/files/home/PyBirthdayWish/PyBirthdayWish.py", line 7, in import vlc ModuleNotFoundError: No module named 'vlc'

Hemanta Pokharel

CS Undergrad | Wanna be hacker | Python developer @Docsumo

GitHub Repository Homepage

python happy-birthday python-birthday-wish birthday-wish-terminal