Originally Posted by Apothem
I know I can download and install modules for parsing HTML, but I do not have root privileges to install.
HTMLParser is standard module since python 2.2, is istalled with python:
Therefore I would like to ask the following questions:
- If I made an HTML parsing module file (1 py file), will it be inefficient? i.e. will it be slow/use more than needed memory?
- Would splitting up the string into multiple parts be faster (like by using BNF notation), or is it faster to use str.find() and then substring it all?
from second question seems that you don't know to much about parser so answer to the first question is yes, will be inefficient. Probably you can learn if you want but will take some time. There are some tools for this: