WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-694-356358-c3bd.MAI' (Errcode: 28 "No space left on device")]
SHOW FULL COLUMNS FROM `wpek_options`

WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-694-356358-c3be.MAI' (Errcode: 28 "No space left on device")]
SHOW FULL COLUMNS FROM `wpek_options`

WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-694-356358-c3bf.MAI' (Errcode: 28 "No space left on device")]
SHOW FULL COLUMNS FROM `wpek_options`

WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-694-356358-c3c0.MAI' (Errcode: 28 "No space left on device")]
SHOW FULL COLUMNS FROM `wpek_options`

WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-694-356358-c3c1.MAI' (Errcode: 28 "No space left on device")]
SHOW FULL COLUMNS FROM `wpek_options`

WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-694-356358-c3c7.MAI' (Errcode: 28 "No space left on device")]
SHOW FULL COLUMNS FROM `wpek_options`

WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-694-356358-c3c8.MAI' (Errcode: 28 "No space left on device")]
SHOW FULL COLUMNS FROM `wpek_options`

WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-694-356358-c3c9.MAI' (Errcode: 28 "No space left on device")]
SHOW FULL COLUMNS FROM `wpek_options`

WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-694-356358-c3ca.MAI' (Errcode: 28 "No space left on device")]
SHOW FULL COLUMNS FROM `wpek_postmeta`

WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-694-356358-c3cb.MAI' (Errcode: 28 "No space left on device")]
SHOW FULL COLUMNS FROM `wpek_options`

WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-694-356358-c3cc.MAI' (Errcode: 28 "No space left on device")]
SHOW FULL COLUMNS FROM `wpek_options`

WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-694-356358-c3cd.MAI' (Errcode: 28 "No space left on device")]
SHOW FULL COLUMNS FROM `wpek_options`

WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-694-356358-c3ce.MAI' (Errcode: 28 "No space left on device")]
SHOW FULL COLUMNS FROM `wpek_options`

Do not change the function headers, just add your implementation for each function where indicated.
Select Page

Get Help With Your Essay

"Place your order now for a similar assignment and have exceptional work written by our team of experts, guaranteeing you A results."

For This or a Similar Paper Click To Order Now

 

First, download the template file, project6.py Download project6.pyand the sample email file, AllEmails.txt Download AllEmails.txt. This file contains the function names and documentation. Do not change the function headers, just add your implementation for each function where indicated. Remember to indent all the code for the function. Submit your completed file to Gradescope. Here are the functions that you will write:
The function normalizeEmail has a valid email address as a parameter and returns the normalized email address.
Function heading: def normalizeEmail(emailIn):
Parameter Specification: A string that represents a valid email address
Return Value Specification: A string that represents the normalized email address
Sample Function Call: normalizeEmail(‘debraduke+cmsc210@gmail.com’)
Sample Return Value: ‘debraduke@gmail.com’
Sample Function Call: normalizeEmail(‘dEbRa.DuKe@gmail.com’)
Sample Return Value: ‘debraduke@gmail.com’
The function createDictionary has a file name as a parameter and returns a dictionary with normalized email addresses as keys and the number of times that address is in the file as values.
Function heading: def createDictionary(fileName):
Parameter Specification: A string that represents a file name
Return Value Specification: A dictionary containing the email addresses and the number of occurances of each unique one in the file
Sample Function Call: createDictionary(“allEmails.txt”)
Sample Function Call: createDictionary(“eml.txt”) # no file
Sample Return Value: File cannot be opened: eml.txt
The function getEligibleEmails has a dictionary as a parameter and returns a list of the normalized email addresses that have a value of 1 in the dictionary.
Function heading: def getEligibleEmails(emailDictionary):
Parameter Specification: A dictionary of email occurrances
Return Value Specification: A list containing the email addresses with values of 1 in the argument
Sample Function Call: getEligibleEmails(allEntries)
The function selectWinner that has a list of email addresses as a parameter and returns a string with normalized email addresses of one randomly selected from the list.
Function heading: def selectWinner(emailList):
Parameter Specification: list of email addresses
Return Value Specification: one email address randomly selected from the list
Sample Function Call: selectWinner(emailList)

Get Help With Your Essay

"Place your order now for a similar assignment and have exceptional work written by our team of experts, guaranteeing you A results."

For This or a Similar Paper Click To Order Now

 

WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-694-356358-c3d6.MAI' (Errcode: 28 "No space left on device")]
SHOW FULL COLUMNS FROM `wpek_postmeta`