Skip to content

Latest commit

 

History

History
71 lines (55 loc) · 2.17 KB

README.md

File metadata and controls

71 lines (55 loc) · 2.17 KB

Election2020

GUI/Commands versions

Download

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

Requirements

Install Tkinter

apt

$ sudo apt-get install python3-tk

$ sudo apt-get install python3-pil.imagetk

or check Tkinter Forum for other distribution or Windows or MAC

Install other modules

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

Execution

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.

Commands

$ python mini_projet.py

or

$ python3 mini_projet.py

GUI

- Windows

$ python Election2020_GUI.py

or

$ python3 Election2020_GUI.py

- Linux

$ python Election2020_GUI_linux.py

or

$ python3 Election2020_GUI_linux.py

Links

GitHub followers

supervisor: Johri Mustapha