| 
																	
																	
																		
																			
																		
																	
																	
																 | 
																@ -38,19 +38,21 @@ def input_file(): | 
															
														
														
													
														
															
																 | 
																 | 
																    quotes = [] | 
																 | 
																 | 
																    quotes = [] | 
															
														
														
													
														
															
																 | 
																 | 
																    with open(INPUT_FILE) as file: | 
																 | 
																 | 
																    with open(INPUT_FILE) as file: | 
															
														
														
													
														
															
																 | 
																 | 
																        for line in file: | 
																 | 
																 | 
																        for line in file: | 
															
														
														
													
														
															
																 | 
																 | 
																            quotes.append(line.host.strip(' \t\n\r')) | 
																 | 
																 | 
																 | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																            quotes.append(line.strip(' \t\n\r')) | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																    return quotes | 
															
														
														
													
														
															
																 | 
																 | 
																
 | 
																 | 
																 | 
																
 | 
															
														
														
													
														
															
																 | 
																 | 
																def main(): | 
																 | 
																 | 
																def main(): | 
															
														
														
													
														
															
																 | 
																 | 
																    """ | 
																 | 
																 | 
																    """ | 
															
														
														
													
														
															
																 | 
																 | 
																    This function calls the welcome function, then it calls the cowsay function with a random quote. | 
																 | 
																 | 
																    This function calls the welcome function, then it calls the cowsay function with a random quote. | 
															
														
														
													
														
															
																 | 
																 | 
																    :return: None | 
																 | 
																 | 
																    :return: None | 
															
														
														
													
														
															
																 | 
																 | 
																    """ | 
																 | 
																 | 
																    """ | 
															
														
														
													
														
															
																 | 
																 | 
																    print_welcome_message() | 
																 | 
																 | 
																 | 
															
														
														
													
														
															
																 | 
																 | 
																
 | 
																 | 
																 | 
																
 | 
															
														
														
													
														
															
																 | 
																 | 
																    quotes = input_file() | 
																 | 
																 | 
																    quotes = input_file() | 
															
														
														
													
														
															
																 | 
																 | 
																
 | 
																 | 
																 | 
																
 | 
															
														
														
													
														
															
																 | 
																 | 
																    print_cowsay_message(quotes[random.randint(0,(len(quotes) -1))]) | 
																 | 
																 | 
																    print_cowsay_message(quotes[random.randint(0,(len(quotes) -1))]) | 
															
														
														
													
														
															
																 | 
																 | 
																
 | 
																 | 
																 | 
																
 | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																    print_welcome_message() | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																
 | 
															
														
														
													
														
															
																 | 
																 | 
																
 | 
																 | 
																 | 
																
 | 
															
														
														
													
														
															
																 | 
																 | 
																""" | 
																 | 
																 | 
																""" | 
															
														
														
													
														
															
																 | 
																 | 
																Makes sure that other programs don't execute the main | 
																 | 
																 | 
																Makes sure that other programs don't execute the main | 
															
														
														
													
												
													
														
															
																| 
																	
																		
																			
																		
																	
																	
																	
																 | 
																
 |