Question: In a file named batch _ UI . py , implement the batch UI . The batch UI will use all the same commands as
In a file named batchUIpy implement the batch UI The batch UI will use all the same
commands as the text UI and should function nearly identically. The difference is that the input
will be taken from a text file. Do not forget to import the modules needed for the UI Eg
loaddata
The text file will have a full command per line. Each input for the command will be separated
by a semicolon ; You can assume that the file contains no errors and that all the commands are
valid.
The UI will take each full command and execute them while printing the output to the terminal
when appropriate For example, a text file containing the following values will load studentmat
csv filter by School GP sort the data by Age, and display a histogram looking at students
StudyTimeSee figure for an example
L;charactersmat.csv;Occupation;AT
S;Agility;D;N
H;Stamina
Apart from the input, this UI should operate with the same rules as the text UI
Please enter the name of the file where your commands are stored
:
Data loaded
Data sorted.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
