In this tutorial, we will introduce how to install scrapy library with conda command on windows, there are some notices we should concern, otherwise, you may fail to install it.
Sometimes we have to use conda command to install some python library, however, we may get this CondaError: Cannot link a source that does not exist. ***\Scripts\conda.exe. In this tutorial, we will provide a solution for this error.
“TypeError: cannot use a string pattern on a bytes-like object” will occur when you are using a byte object in python regular expression. In this paper we will introduce you how to fix this error.
urllib2 is used in python 2.x, so if you use urllib2 in python 3.x, you will get this error: No module named ‘urllib2’. To fix this error, we should use python 2.x or replace urllib.request to replace it.
Python 2 and Python 3 is different, if you want to install and use both of them to programming, we will recommend anaconda to implement. In this tutorial, we will introduce how to do.
Converting a relative url to an absolute one is very important when you are crawling a site, which can allow you to continue to crawl. In this tutorial, we will introduce you how to convert.
Python zip() function takes iterables (can be zero or more), makes an iterator that aggregates elements based on iterators you give, then returns an iterator of tuples. In this tutorial, we will discuss how to this function with some examples.
Merge / Join python lists is very common to use in python applications, which can simpfy the process of python lists. In this tutorial, we will introduce how to merge or join them.
Python yield and return statement are common used in python function, both of them can control the execution process of python function, in this tutorial, we will discuss some differences between them.
Extracting all urls from a python string is often used in nlp filed, which can help us to crawl web pages easily. In this tutorial, we will introduce how to extract urls from a python string.