aristotle-tek/BeautifulSoup_pres

Code Improvement

Opened this issue · 0 comments

I have some suggestions for improving code in the example so that it can be generalised more. These are some of the following:

  • In step-by-step.py line 13 instead of absolute static path may be you can use os.path.join or may be you can take path as input.
  • Instead of urllib you may use python requests
  • no need to use sys.path.append('/usr/lib/python2.7/dist-packages/') it is already in pyhon path.
  • make liberia.py generalised like taking the input for directory.
    😄