main.py (compulsory file) contains main loop where the app prints all selectable options for user (e.g main menu and possible submenus) after showing options to select main loop waits user input (use your own input functions) according selections calls your own input functions for asking user to enter strings (file names etc) and/or numbers when all necessary info has been asked from user, processes and shows the results. inputs.py contains tool functions like user input functions including data validations function who asks user to input integer between range, should take a prompt and list of possible selections (or min, max). And - of course - validate and return integer function who asks user to input string, should take a prompt and list of possible selections. And - of course - validate and return selected string contains tool functions for reading and showing file (excel, csv, json) data One of the functions is that who asks the file path and returns it. Also the function should (optionally) check whether the file path exists which user entered
source https://stackoverflow.com/questions/70174902/how-to-do-this-task
Comments
Post a Comment