^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
STEPS TO RUN TASK 1:
-
Intsall requests using the following command: pip install requests
-
Install BeautifulSoup using the following command: pip install BeautifuSoup4
-
Navigate to the directory in which the files are there and run the following command python hw1_task_1.py
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
STEPS TO RUN TASK 2:
- Navigate to the directory in which the files are there and run the following command python hw1_task_2.py
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FILES PRESENT IN HERE:
- hw1_task_1.py - for TASK 1
- hw1_task_2.py - for TASK 2
- Task 1-E - list for UrLs(result of task1) - Maximum depth reached is 3
- Task 2 - list for UrLs(result of task2) - maximum depth reached is 6
- task2Brief - Explaination for TASK 2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
REFERENCES:
- https://en.wikipedia.org/wiki/Tropical_cyclone
- http://www.pythonforbeginners.com/python-on-the-web/beautifulsoup-4-python/
- https://www.crummy.com/software/BeautifulSoup/bs4/doc/
- https://docs.python.org/2/library/re.html
- https://pypi.python.org/pypi/stemming/1.0
- https://en.wikipedia.org/wiki/Breadth-first_search
- https://en.wikipedia.org/wiki/Depth-first_search
- https://www.hackerearth.com/practice/algorithms/graphs/breadth-first-search/tutorial/