Task 5 - abha-m/IoT-SPIT GitHub Wiki
Task 5 : Design a GUI in Python which takes two parameters;
1. Broadcast message
2. File containing the Numbers of the recipients
- Since we are creating an application which will send messages to multiple users, the application will require a GUI. To create a GUI in python we would have to first include the tkinter package for using the already built graphic functions
- The tkinter package can be downloaded by entering
sudo apt-get install python3-tk
For tkinter syntax refer the below link
http://www.python-course.eu/python_tkinter.php
- The GUI needs to have an interface such that there will be a field in which the user can enter his/her message, which will be stored as a string literal in the code.
- There will also be a button to select the file which contains the name and number of the recipients, this will store the path name of the file which will be used by the extracting portion of the code to create the dictionary in Python
- Also we will provide radio buttons to specify which type of file the user has uploaded i.e. txt/csv/xlxs .
- We can also provide a search box for the user to select only specific names from the list of people he wants to send the message to.