GUI/Commands versions
To Download this software clone this repositorie or Download it as zip.
git clone https://github.com/Salah-Zkara/Election-Mini-Projet.git
cd Election-Mini-Projet
$ sudo apt-get install python3-tk
$ sudo apt-get install python3-pil.imagetk
or check Tkinter Forum for other distribution or Windows or MAC
to run the program you have to install the required modules so open the terminal in the root folder of the program and run this command
$ pip install -r requirements.txt
or
$ pip3 install -r requirements.txt
you can modify the elected persons in the file "candidats.txt" in the root folder for the command version, and in ".resources->candidats.txt" for GUI version.
$ python mini_projet.py
or
$ python3 mini_projet.py
$ python Election2020_GUI.py
or
$ python3 Election2020_GUI.py
$ python Election2020_GUI_linux.py
or
$ python3 Election2020_GUI_linux.py