I thought the post made some good points on web scrapers, I use python for simple web scrapers, data extraction can be a time consuming process but for larger projects like the web, files, or documents i tried "web scrapers" which worked great, they build quick custom screen scrapers, web scrapers, and data parsing programs
3 comments:
or just
type("string") is str
type([]) is list
type(123) is int
no import needed
The proper way to do this is to use the builtin method isinstance().
>>> isinstance('string', str)
True
>>> isinstance(124, int)
True
>>> isinstance([], list)
True
I thought the post made some good points on web scrapers, I use python for simple web scrapers, data extraction can be a time consuming process but for larger projects like the web, files, or documents i tried "web scrapers" which worked great, they build quick custom screen scrapers, web scrapers, and data parsing programs
Post a Comment