sub package

Submodules

sub.m1 module

Retreives ecsu url link and return the faculty data within the table.

sub.m1.url_html_data(url)[source]

Retreives, extract, and returns url data with python regular expression. Returns:

table_head: list - headers in the html table row. tr_name: string - table row facultly name. tr_department: string - table data department. tr_email: string - table data email. tr-number: string- table data phone number.
Example:
>>> fac_header, fac_name, fac_department, fac_email, fac_number = url_html_data(url)

sub.m2 module

Write python regex data into csv file.

sub.m2.write_to_csv(tr_head, tr_name, tr_department, tr_email, tr_number)[source]

Writes extracted data to csv file. Example:

>>> write_to_csv(tr_head, tr_name, tr_department, tr_email, tr_number)

Module contents