Find Jobs
Hire Freelancers

Develop a Batch User Interface based on a text user interface without import pandas or csv in PYTHON

$30-250 CAD

Selesai
Dibuat lebih dari 1 tahun yang lalu

$30-250 CAD

Dibayar ketika dikirim
Due: 40 hours from now Use the code from [login to view URL] and main.py. They are designed to take in the data from the file [login to view URL] and sort it into different ways.(View the file [login to view URL] to see all the figures in the description). Build a User Interface in which the input will be taken from a text file. 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. 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 ‘[login to view URL]’, sort the data by health, output the best Age for grades, output the worst Health for grades, and display a histogram looking at students’ StudyTime’ L;[login to view URL] s Health N b Age w Health h StudyTime 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 : <the user enters response> Data loaded Data sorted. <<<You selected not to display>>> The best value for the attribute Age is 15 years old The worse value for the attribute Health is 1 <<<Histograms with Study time will be shown>>> Figure 7: Batch User Interface The user interface (UI) is shown in Figure 1. To execute a command, the user types the upper-case letter to the left of the ‘),’ then presses the Enter key. After the command is executed and the results are displayed, the user should be prompted to enter another command. The entire menu, with the statement “Please type your command” and the command prompt is redisplayed Most of the commands are upper-case letters; for example, the L in L)oad file. For all commands, both upper-case and lower-case letters should be accepted; for example, both L and l (lower-case “L”, not the digit “one”) will trigger the code associated with selecting and loading a file. The L)oad file command allows the user to select and read the dataset file (i.e., enter the file’s name to be loaded), and select the key to be used for loading the data. The loaded data must include the average grades for each student. See figure 2 for an example of the UI after the user types L. Figure 2 assumes that the value for the key is valid. If the value of the key is invalid, the user is notified and prompted for a new key. The commands S, H, W, and B will ask the user to enter an attribute to select the specific analysis the user wants to perform. Figure 3 shows an example after the user types S, and figure 4 an example after the user types W. Both Figures 3 and 4 assume that the value used for sorting or calculating the worse value are valid and that a data set is already loaded. If the data set is not leaded, an error message will be prompted, and the UI from figure 1 will be shown again (see figure 5). Commands H and B work in a similar way. The Q)uit command terminates the program. Remember that the application will show an error message if the data file is not loaded. Figure 5 shows an example. The application will display the error message "Invalid command" and display the UI in figure 1 if an invalid command is typed (see figure 6 for an example). Note that if an invalid command is entered before a file has been loaded, only "No such command" should be displayed; it means "File not loaded" must not be displayed simultaneously. Do not provide any additional commands. If you want to add enhancements on your own time, you are certainly encouraged to do so, but for this lab, you should not provide extra features, and the user interface will provide only those commands shown in Figure 1
ID Proyek: 35451578

Tentang proyek

1 proposal
Proyek remot
Aktif 1 tahun yang lalu

Ingin menghasilkan uang?

Keuntungan menawar di Freelancer

Tentukan anggaran dan garis waktu Anda
Dapatkan bayaran atas pekerjaan Anda
Uraikan proposal Anda
Gratis mendaftar dan menawar pekerjaan
Diberikan kepada:
Avatar Pengguna
Hi, This is Hà H from Vietnam. I have full experience in ✔️ Python, pandas, csv, tkinter, GUI✔️. I can start the work right now & very confident in this kind of project. Looking forward to hear more about the project via chat. Best regards!
$140 CAD dalam 2 hari
5,0 (7 ulasan)
5,0
5,0

Tentang klien

Bendera CANADA
Ottawa, Canada
0,0
0
Memverifikasi Metode pembayaran
Anggota sejak Des 7, 2022

Verifikasi Klien

Terima kasih! Kami telah mengirim Anda email untuk mengklaim kredit gratis Anda.
Anda sesuatu yang salah saat mengirimkan Anda email. Silakan coba lagi.
Pengguna Terdaftar Total Pekerjaan Terpasang
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuat pratinjau
Izin diberikan untuk Geolokasi.
Sesi login Anda telah kedaluwarsa dan Anda sudah keluar. Silakan login kembali.