Question: Note the important details and use them when necessary: Student number: 66336198 Name: Khutiisho Surname: Makobe . Date of birth: 1997/03/29 A. File Handling There

 Note the important details and use them when necessary: Student number:

Note the important details and use them when necessary: Student number: 66336198 Name: Khutiisho Surname: Makobe . Date of birth: 1997/03/29 A. File Handling There are three steps (open, action, close) required for handling files. You need to write a Python program what executes each of these three steps. Your program must include Extensive comments to ensure explanation of your code . Open a file (file name must include your student number, thus filexxxxxxxx.txt) * Write your name, surname and your date of birth to a file . Close the file . Then open the file again Write the contents of the file to display on the screen B. Create an application using PyQt. The user must enter the name of a UNISA Community Engagement Project. Please consult the UNISA website for a list of all these projects. The user must also enter a character (letter). The application must read the name of the Community Engagement Project and the character and count the number of occurrences of the character in the Community Engagement Project name. The count should be case insensitive. In other words, if 'c' is entered as the character then both capital letter 'C' and small letter 'c' in the string should be counted. The count must be displayed. The application interface must include at least 4 different types of widgets. Required Screenshot of the CExxxxxxxx.py program. Ensure that the screenshot shows your file name that includes your student number! Screenshot of output. Screen shot of the object inspector (all components named) Code: Input. . Code: Result. Comments (at least 3) Error message for incorrect input from user (e.g. no name of a Community Engagement Project) Error message of character not found or the character is blank! Note the important details and use them when necessary: Student number: 66336198 Name: Khutiisho Surname: Makobe . Date of birth: 1997/03/29 A. File Handling There are three steps (open, action, close) required for handling files. You need to write a Python program what executes each of these three steps. Your program must include Extensive comments to ensure explanation of your code . Open a file (file name must include your student number, thus filexxxxxxxx.txt) * Write your name, surname and your date of birth to a file . Close the file . Then open the file again Write the contents of the file to display on the screen B. Create an application using PyQt. The user must enter the name of a UNISA Community Engagement Project. Please consult the UNISA website for a list of all these projects. The user must also enter a character (letter). The application must read the name of the Community Engagement Project and the character and count the number of occurrences of the character in the Community Engagement Project name. The count should be case insensitive. In other words, if 'c' is entered as the character then both capital letter 'C' and small letter 'c' in the string should be counted. The count must be displayed. The application interface must include at least 4 different types of widgets. Required Screenshot of the CExxxxxxxx.py program. Ensure that the screenshot shows your file name that includes your student number! Screenshot of output. Screen shot of the object inspector (all components named) Code: Input. . Code: Result. Comments (at least 3) Error message for incorrect input from user (e.g. no name of a Community Engagement Project) Error message of character not found or the character is blank

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!