[Tutor] Extract URL

2018-12-13 Thread Sammy Lee
I need help on the problem stated below. Given a URL, open the webpage and return the first anchor link url (a href). def extract_url_link(url): ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python

Re: [Tutor] Import CSV

2018-12-13 Thread Sammy Lee
def save_url_to_file(url, savefile): This is the starting code. > On December 13, 2018 at 11:56 AM Sammy Lee wrote: > > > I need help on how to open a webpage and save the HTML to a given file > path, given a URL. >

[Tutor] Python function

2018-12-13 Thread Sammy Lee
How do I create a python function that opens a CSV file and determines how many columns of data are in the file? The CSV files have been randomly generated from https://www.mockaroo.com/ def csv_column_count(openfile): ___ Tutor maillist - Tutor@pyth

[Tutor] Import CSV

2018-12-13 Thread Sammy Lee
I need help on how to open a webpage and save the HTML to a given file path, given a URL. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor

[Tutor] Open webpage and save CSV

2018-12-13 Thread Sammy Lee
I need help on the problem below, Given a URL, open the webpage and save the CSV to a given file path. def save_url_to_csv_file(url, savefile): ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.